[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.
«novembre»
domlunmarmergiovensab
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567