Posted By

ptomas on 07/17/12


Tagged

javascript file external dinamically dinamiskai isorini faila prideti


Versions (?)

dinamiškai pridėti išorinį JavaScript failą


 / Published in: JavaScript
 

išorinio javascript failo įtraukimas į html

  1. var script = document.createElement("SCRIPT");
  2. script.language = "javascript";
  3. script.src ='/ISV/javascripts/teo_pervardinamapaslauga-teo_nameold-OnChange.js?noCache=' + Math.random();
  4. document.getElementsByTagName("HEAD")[0].appendChild(script);

Report this snippet  

You need to login to post a comment.