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


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

išorinio javascript failo įtraukimas į html


Copy this code and paste it in your 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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.