/ Published in: jQuery
Just replace classic document.ready with pageLoad function as belows:
pageLoad function will called on all postback and partial postbacks. So it makes the jquery code no matter what :D Even in update panel.
Expand |
Embed | Plain Text
Replace this : $(document).ready(function(){ //Jquery Code }); With this : function pageLoad(sender, args){ //Jquery Code }
Comments
Subscribe to comments
You need to login to post a comment.

I use both. Document.ready if i want to do something only on first page load or refresh, and pageload for ajax partial updates.
:)