Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const string jqueryScript = @"
- if(typeof jQuery=='undefined') {
- var jqTag = document.createElement('script');
- jqTag.type = 'text/javascript';
- jqTag.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js';
- document.body.appendChild(jqTag);} ";
- Page.ClientScript.RegisterStartupScript(GetType(),"jqueryCheck",jqueryScript,true);
Advertisement
Add Comment
Please, Sign In to add comment