I have a button on my page that does an Ajax callback with an onclick javascript method. I want to re-register ALL the Javascripts on the page after the ajax is completed. I have a common init method that I call on ajaxComplete with some functions called after ajax completion.
However, there are several javascripts, and in different files. Is it possible to get all the javascript files (based on the file names on the server) and re-register them onAjax complete?
I am using C#/.NET (.NET ajax) and if there's a way to register the files via code behind (on ajax complete).
Currently I have a javascript method that is called on ajax completion, is there any way to place this inside code-behind to re-register the javascripts?