• Post Reply Bookmark Topic Watch Topic
  • New Topic

a4j RichFaces + JQuery question

 
Eduardo Zanni
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

There is a page on the project I'm currently working on that is using RichFaces' a4j to handle all the ajax requests. I would like to execute a javascript function every time an ajax request is complete (possibly using JQuery). Is that possible?

I've tried using JQuery's ajaxComplete function, which did not work. Does anybody know how can this be done?

Thanks in advance,

Eduardo.
 
zul' Zorander
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of a4j tags have an attribute called oncomplete attribute which is used to execute javascript on clientside after request. Try using that. Hope it helps

Cheers
Zeddicus
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!