...

View Full Version : Javascript Won't Work on a page already with Javascript



nigelwong
12-18-2005, 03:22 AM
Is there a special way to add javascript on a page that already has existing javascript on it? Because when i try to use some AJAX it works fine. Preview: http://quibber.ahplace.com/ajax.html however when i use it on a page already with other scripts running, it doesnt (http://quibber.ahplace.com)

The script i am using (AJAX) is this: http://www.lissaexplains.com/forum/showthread.php?t=47016

Any idea how to get it working? Thanks!

Osiris
12-18-2005, 03:25 AM
It should be working as far as I know... But those pages you gave don't connect for both of them, so I can't really have a look for myself.

Nischumacher
12-19-2005, 12:30 PM
the links still don't work...
any way... i will give what i could think might be the problem...

the additional javascript code must be in a new tag... like this...

<script src="functions.js"></script>
<script>
...
new code here
...
</script>

and NOT like this...

<script src="functions.js">
...
new code here
...
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum