/    Sign up×
Community /Pin to ProfileBookmark

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:

<body>

<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>
</optgroup>
</select>

//This is linked to the above first dropdown when you select Faith.jpg
<select>
<option>Description</option>
<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>
</select>

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)
<select>
<option>Description</option>
<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>
</select>
</body>

Thank you 🙂

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @Cyberoxy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...