COMMUNITY: How to properly ask a question on Forums
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Mangesh barmate
1.5k
117
86.6k
How to fill second dropdown on the base of first dropdown va
Jan 5 2018 4:56 AM
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.
Reply
Answers (
1
)
Separate base64 from String
Textbox field widths should be 100% in Bootstrap
"