«« Next » « Previous
«« Next » « Previous

Link Details

Stop waiting for the other guy to do it. Login and vote now.
Link 80669 thumbnail

By mswatcher
via blog.devarchive.net
Published: May 15 2008 / 11:59

Quite often we need to load js files dynamically right from javascript. With ASP.NET AJAX it is simple. ASP.NET AJAX library has internal ScriptLoader class that can be used to load js files, specify callbacks that will be invoked when script is downloaded and ready, and execute functions inside newly loaded files. I will not list all available methods from ScriptLoader class - you can see them in more details in AJAX source. I will demonstrate how to load files and execute some functions in it.
  • 5
  • 0
  • 732
  • 104

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (0)