Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to fill second dropdown on the base of first dropdown va
Mangesh barmate
Jan 5 2018 4:56 AM
152
Reply
I have tow following dropdowns and I want to fill second dropdown on the base of first dropdown value.
<select id="iFunction" name="nFunction"> <option value="-1" selected="">Select…</option> <option value="1">Drilling</option> <option value="2">Gas</option> <select id="iOperation" name="nOperation"> <option value="-1" selected="">Select…</option> <option value="1_21">Drill1</option> <option value="1_22">Drill2</option> <option value="2_21">Compression</option> <option value="2_22">Dehydration</option> </select>
When I click Drilling option in iFunction dropdown then I want to fill Drill1 and Drill2 in another dropdown on the base of 1 common in both the dropdown list.
i have tried many approaches provided by Google
Can someone suggest me approach?
Thanks.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Separate base64 from String
Textbox field widths should be 100% in Bootstrap