Click to See Complete Forum and Search --> : Multiple scripts


In Motion
12-04-2003, 09:48 AM
How do I go about using multiple scripts on same page(without the error notice) I have used it before but it was 2 years ago and I need a refresher. Thank you in advance

Gollum
12-04-2003, 09:52 AM
You need to make sure the two scripts don't interfere with each other - i.e. using the same variable/method names, etc.
There is no namespacing in Javascript so this can take a bit of work.

In Motion
12-04-2003, 10:10 AM
Thank you for the quick reply, I dont get it, is there an add too line, I guess I need the script for combining 2 scripts.

TheBearMay
12-04-2003, 11:48 AM
Easiest way is to include two <script src=...></script> blocks.