[Js] Includere file Javascript dinamicamente

function includeJS(urlScript)
{
      var oNewScript = document.createElement("script");
      oNewScript .type = "text/javascript";
      oNewScript .src = urlScript;
      
      document.getElementsByTagName("head")[0].appendChild(oNewScript );
}

posted @ martedì 21 agosto 2007 00:17

Print

Comments on this entry:

# re: [Js] Includere file Javascript dinamicamente

Left by Sem Tamburella at 21/08/2007 02:15
Gravatar
ottimo

# re: [Js] Includere file Javascript dinamicamente

Left by sohbet odaları at 30/12/2012 06:12
Gravatar
Comments have been closed on this topic.
«gennaio»
domlunmarmergiovensab
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678