Load jQuery using pure js javascript - single line - jquery.com latest


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var jqscript=document.createElement('script');jqscript.setAttribute("type","text/javascript");jqscript.setAttribute("src","http://code.jquery.com/jquery-latest.js");document.getElementsByTagName("head")[0].appendChild(jqscript);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.