Capture Selected Values From Dynamic Drop-down Lists Using Javascript
I'm trying to get the value from dynamic drop-down list in my form, but my code isn't working. View.php
Copy
Where #id is the id of your select input
Solution 2:
To check if there is a dynamic Drop down you can simple check if the selector exists with
$('#elemId').length>0
And for selected value you can use $("#selectorid").find("option:selected").val();
Post a Comment for "Capture Selected Values From Dynamic Drop-down Lists Using Javascript"