Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I execute another script?
Message
De
16/02/2003 17:13:32
 
 
À
16/02/2003 17:08:44
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00753916
Message ID:
00753930
Vues:
22
>>Now I'd like to be able to exececute that script from within another JS script. Can I do this?
>
>If you would like to execute a specific function from that script, then, you may just call the name of the function as is.
>
>If it is in regards to include a script from another included script, I always moved away from such design as I believe all included scripts should be part of the main page.

I know that there are weaknesses based on my approach but I did it this way because I want to hide the source code. It's not perfect security but it's a beginning. At least I hope so.


>
>I'm not sure if you can include a script from another script. If it's not easily possible, maybe you can try the document.write() approach to include the HTML line to include the script. Then, maybe a call to the related function name would do it.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform