Adding more than one JavaScript to a page

One of the top five scripting questions I get asked on a daily basis is not what functions are, how to dynamically change the background color of a document, or why JavaScript is the most popular language on the WWW. Oh no, these don't even come close to being on my Top Five List. A question that does keep popping up in my mailbox, however, is how to add multiple scripts- should they be scripts from our own JavaScript archive or otherwise- to one page. Many people complain that, while a script works as it should alone on the page, when a second (or more) one is added, all of a sudden, things take an unpleasant twist, and either one or both of the scripts no longer work. In this article, I'll discuss and address this "problem" now frustrating many JavaScript lovers.

Follow Us
Facebook Fan Page