I have this problem, when I put more than 1 javascript only the 1st works. I searched google and found the problem this http://www.javascriptkit.com/javatutors/multiplejava.shtml But I dont understand what I should do, I just want to add 2 javascripts that are for advertisements, but as I said I cant make work more than 1. Anyone can explain me ?
The problem you are facing is that both the scripts are trying to run at the same time. That is to say, the first one works, but when the second one is executed, it conflicts with the first one already running and hence does not execute. You need to basically integrate both the scripts into one script to run at once. How that is to be done, depends on the situation and the coding. Regards Alex
Set up your scripts in the <head> tab. <script type="text/javascript" src="script1.js"></script> <script type="text/javascript" src="script2.js"></script> <script type="text/javascript" src="script3.js"></script> <script type="text/javascript" src="script4.js"></script> <script type="text/javascript"> //Run Code Here </script>