I have an updatepanel in ASP.NET that does a partial page refresh.
I’ve had some success using jQuery’s on() method, however $(document).ready(function(){}) is only called during the initial load of a page, rather than after each updatepanel refresh.
I think I could probably trigger it using ‘ScriptManager.RegisterStartupScript()‘ but would prefer a ‘cleaner’ method. Do any exist?
you should use pageLoad() function in JS