www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > JavaScript

    JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...)

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 06-23-2007, 08:18 PM
    jbresette jbresette is offline
    Registered User
     
    Join Date: Oct 2006
    Posts: 15
    Drop Down Menu relying on other drop down menu

    I have two drop down menus that has a list of teams:

    Drop Down for Home Team

    and

    Drop Down for Away Team

    Then for each player i have a drop down for their team, but i would only like for it to show the Home team that was selected and the Away team that was selected. Since PHP is server-side I figured to do this on the same page I had to use javascript so does anyone have any ideas?
    Reply With Quote
      #2  
    Old 06-23-2007, 09:37 PM
    Logic Ali's Avatar
    Logic Ali Logic Ali is offline
    Just don't say "menu"
     
    Join Date: Mar 2007
    Location: U.K.
    Posts: 606
    Quote:
    Originally Posted by jbresette
    I have two drop down menus that has a list of teams:

    Drop Down for Home Team

    and

    Drop Down for Away Team

    Then for each player i have a drop down for their team, but i would only like for it to show the Home team that was selected and the Away team that was selected. Since PHP is server-side I figured to do this on the same page I had to use javascript so does anyone have any ideas?
    For me at least this scenario is very unclear. Do those two dropdowns each contain a list of teams or the list of players in one team? Without being certain, I can't interpret the rest of the question which itself is very ambiguous. Could you try making it clearer?
    __________________
    If DynamicDrive was the answer, it must have been a funny question.

    Code:
    answer = question.match(/back button|calendar|calculator|coundown timer|dynamic\s?drive|hangman|jquery|lightbox|menu|right-click|sniffer|snowflake/) ? "Dream-on sucker" : "Maybe...";
    Reply With Quote
      #3  
    Old 06-24-2007, 12:27 AM
    jbresette jbresette is offline
    Registered User
     
    Join Date: Oct 2006
    Posts: 15
    Thanks, but I solved that problem.
    Reply With Quote
      #4  
    Old 11-02-2007, 12:27 PM
    degone degone is offline
    Registered User
     
    Join Date: Nov 2007
    Posts: 1
    and could u tell me how did u do that ??

    i have 2 drop down menus and i want the second menu to show information depending on what choice in the first menu was made...

    best regards
    darek.
    Reply With Quote
      #5  
    Old 11-02-2007, 12:48 PM
    JMRKER JMRKER is offline
    Registered User
     
    Join Date: Dec 2005
    Location: FL
    Posts: 4,561
    'degone':

    Don't know how 'jbresette' solved it yet,
    but take a look at this: http://javascript.internet.com/forms...drop-down.html
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:46 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.