[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.
«ottobre»
domlunmarmergiovensab
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789