score:2

jQuery AJAX calls strip script tags out of the response unless you have set the datatype option to "html"

Make sure you have set the datatype to html.

$.ajax({url:"/sompage.html",datatype:"html",type:"GET"});

See the documentation here

score:0

if u use update panel

Sys.Application.add_load(your_function);

Related Articles