[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.
«aprile»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011