Click here to Skip to main content
15,867,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it safe to use AJAX Helper in ASP.Net MVC, as helper uses java script library for asynchronous which is self executing anonymous function.

As we use ready function for linking event handlers to element
$(document).ready(function(){
...
...
}
because it is executed after complete load of DOM. Where as Java script Library referred by AJAX helper uses self executing anonymous function for linking event handlers to element.
Is this anonymous function executed after complete load of DOM.
Posted

1 solution

Yes, it's just a different syntax for achieving the same thing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900