Jquery Functions, One To Display Dropdown On Click And Another To Get Selected Item From Dropdown
I have an unordered list (HTML below and Javascript code is below). The first function 'display_dropdown_multiple' works for me. However, I'm having issues with the second functi
Solution 1:
- IDs have to be unique
- There is no
<option>
which you're targeting.
Solution
Construct a <select>
with options you intend to use with unique ids and then you're code will work fine.
Post a Comment for "Jquery Functions, One To Display Dropdown On Click And Another To Get Selected Item From Dropdown"