Two conflicting Javascripts

Discussion in 'Javascript' started by Gareth, Nov 17, 2003.

  1. Gareth

    Gareth Guest

    I have two cascading menus i want to run on my web page, i can make
    one work fine, however when i add the other menu both do not work. I
    presume this is beacuse the menus do not no which script to call? Is
    there a way i can make menu1 link to javascript1 and menu2 link to
    javascript2?

    Any suggestions would be greatly appriciated, Regards Gareth
     
    Gareth, Nov 17, 2003
    #1
    1. Advertising

  2. Gareth

    Evertjan. Guest

    Gareth wrote on 17 nov 2003 in comp.lang.javascript:

    > I have two cascading menus i want to run on my web page, i can make
    > one work fine, however when i add the other menu both do not work. I
    > presume this is beacuse the menus do not no which script to call? Is
    > there a way i can make menu1 link to javascript1 and menu2 link to
    > javascript2?
    >


    I suspect that you use global variables with the same name and/or functions
    with the same name. Change them!

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Nov 17, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bob Walton
    Replies:
    0
    Views:
    917
    Bob Walton
    Jul 19, 2003
  2. =?Utf-8?B?VGlnZ2Vy?=

    Using JavaScripts in ASP.NET, please help...

    =?Utf-8?B?VGlnZ2Vy?=, Jan 11, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    665
    MWells
    Jan 12, 2005
  3. Replies:
    0
    Views:
    430
  4. Nico Schuyt
    Replies:
    2
    Views:
    430
    Nico Schuyt
    Jul 27, 2003
  5. Julia Briggs
    Replies:
    1
    Views:
    72
    Chris
    Dec 15, 2003
Loading...

Share This Page