[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.
«dicembre»
domlunmarmergiovensab
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234