Return to Snippet

Revision: 23119
at January 31, 2010 00:23 by delikassap


Initial Code
Replace this : 
$(document).ready(function(){
  //Jquery Code
}); 



With this : 
function pageLoad(sender, args){
  //Jquery Code
}

Initial URL


Initial Description
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.

Initial Title
Jquery Code  in ASP.NET UpdatePanel solution

Initial Tags
jquery, aspnet, update

Initial Language
jQuery