Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to validate if the user has selected any one of the drop down in javascript or jquery. the function needs to get the

I need to validate if the user has selected any one of the drop down in javascript or jquery. the function needs to get the id name but it can be hard codded meaning the starting of all the id can be same but ending could differnt so that in the future i could add more dropdown

multiple drop down

by the selected value

write a function in jquery or javascript where it loops for the partial id of the dropdown list and checks the index value =0 and if it is then return true if not it should check the next id starting with the partial id. the function should check if any of the drop down is select.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions