Results 1 to 3 of 3
  1. #1
    Cyberoxy is offline Member
    Join Date
    Jun 2011
    Rep Power

    Default Urgent help - dropdown issue

    Hey guys / gals

    When you select one example "Faith.jpg" from the first dropdown, then another dropdown should link this and display several prices. Each image with different prices.

    How to do this in code?? I urgently need your help. I'm busy developing for my client. Thanks!

    Look at my codes below:


    <select name="ORDER 1" id="dlist1" onchange="swapImage1()">
    <optgroup label="Sow Seeds of Love">
    <option value="None">None</option>
    <option value="Images/SowSeeds/Faith_small.jpg">Faith </option>
    <option value="Images/SowSeeds/Hope_small.jpg">Hope</option>
    <option value="Images/SowSeeds/Grace_small.jpg">Grace</option>
    <option value="Images/SowSeeds/Peace_small.jpg">Peace</option>
    <option value="Images/SowSeeds/FlowerSeedSachet_small.jpg">Flower Seed Sachet</option>

    //This is linked to the above first dropdown when you select Faith.jpg
    <option>Card A6 (blank) - R32.00 </option>
    <option>Memo Book A6 - R62.00 </option>
    <option>Gift Tags (4 designs per packet) - R8.50</option>
    <option>Gift Tags - Single - Assorted - R1.80</option>
    <option>Key Rings Perspex - R30.00</option>
    <option>Fridge Art - R40.00 </option>

    AND for example you choose another image with different prices

    //This is linked to the above first dropdown when you select Hope.jpg (different prices)
    <option>Card A6 (blank) - R35.00 </option>
    <option>Memo Book A6 - R65.00 </option>
    <option>Gift Tags (4 designs per packet) - R9.50</option>
    <option>Gift Tags - Single - Assorted - R1.80</option>
    <option>Key Rings Perspex - R20.00</option>
    <option>Fridge Art - R40.00 </option>

    Thank you :-)

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    You'll get better answers if you post this question on an HTML forum.

  3. #3
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Camp Lejuene, North Carolina
    Rep Power


    I recommend going to a Java Script forum. Maybe even a PHP one.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

Similar Threads

  1. dropdown with other option
    By vallaru in forum Web Frameworks
    Replies: 1
    Last Post: 02-28-2011, 10:00 AM
  2. dropdown menu getting overlapped issue
    By jeev81 in forum Advanced Java
    Replies: 0
    Last Post: 02-02-2011, 01:03 PM
  3. dropdown onchange
    By srivempala in forum New To Java
    Replies: 0
    Last Post: 01-23-2011, 12:54 PM
  4. [URGENT]SHA Encryption System...need urgent helps
    By java_idiot in forum New To Java
    Replies: 6
    Last Post: 05-02-2010, 11:04 AM
  5. Help with dropdown list
    By barney in forum AWT / Swing
    Replies: 1
    Last Post: 08-07-2007, 08:17 AM

Posting Permissions

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