Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I execute another script?
Message
From
16/02/2003 17:13:32
 
 
To
16/02/2003 17:08:44
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00753916
Message ID:
00753930
Views:
15
>>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é
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform