Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Won't Work on a page already with Javascript

    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/s...ad.php?t=47016

    Any idea how to get it working? Thanks!

  • #2
    New Coder
    Join Date
    Dec 2005
    Location
    Dallas, TX
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Owner - Osiris Incorporated

    PHP and MySQL pro, and always willing to help.

  • #3
    Regular Coder Nischumacher's Avatar
    Join Date
    Oct 2005
    Location
    Bombay, India
    Posts
    196
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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...
    Code:
    <script src="functions.js"></script>
    <script>
    ...
    new code here
    ...
    </script>
    and NOT like this...
    Code:
    <script src="functions.js">
    ...
    new code here
    ...
    </script>
    - NS 666
    .net DEVILoper


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •