apeee
10-30-2006, 02:58 AM
I need to put 2 javascripts in one html page. Since they are tooooo big I want to keep them in js file.
<head>
<script type="text/javascript" src="/jquery1.js"></script>
<script type="text/javascript" src="/jquery2.js"></script>
</head>
But when I keep the above code in html file, only one of the javascript seems to work.
And, when I keep both the javascript source in the html tag they work fine but keeping them in separate two files as jquery1.js and jquery2.js (as above) only one of them seems to work. Please help me, what should I do?
<head>
<script type="text/javascript" src="/jquery1.js"></script>
<script type="text/javascript" src="/jquery2.js"></script>
</head>
But when I keep the above code in html file, only one of the javascript seems to work.
And, when I keep both the javascript source in the html tag they work fine but keeping them in separate two files as jquery1.js and jquery2.js (as above) only one of them seems to work. Please help me, what should I do?