jQuery does not work anymore after re-rendring any RichFaces component

Posted by Manish Kumar on Stack Overflow See other posts from Stack Overflow or by Manish Kumar
Published on 2013-06-30T03:49:29Z Indexed on 2013/06/30 4:21 UTC
Read the original article Hit count: 133

Filed under:
|
|

I have a page which contains following components:

  • 1 Button
  • 1 drop down list using jQuery
  • 1 button whose on click event changes a text box value using jQuery
  • 2 another buttons shown on hover

If I change the dropdown value, or press a button, then the page is re-rendered by ajax. After that, jQuery does not work anymore. If I refresh the page, then jQuery works fine.

How is this caused and how can I solve it?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jsf