Append javascript script to head - Javascript jQuery Method and Property

Javascript examples for jQuery Method and Property:append


Append javascript script to head

Demo Code

ResultView the demo in separate window

  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <script type="text/javascript" src=""></script> 
 </head> /*from   ww w . ja  va2 s  . co  m*/
  <a href="javascript:void(0)">CLICK</a> 
  <script type="text/javascript">
$(document).ready(function () {
    $('a').on('click', function () {
function test(){


Related Tutorials