JavaScript
Article
By Sam Deering

jQuery ASP.NET UpdatePanel Document Ready

By Sam Deering

jQuery Code Snippet to force the jQuery to force the pageLoad() function to be called on all postbacks even when using the update panel. Simply replace the document.ready with pageLoad function.

Replace this :

$(document).ready(function(){
  //Jquery Code
});

With this :

--ADVERTISEMENT--

function pageLoad(sender, args){
  //Jquery Code
}
Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account