Post

jQueryjQuery

T
Tom 234

Posted on 28th February 2024|50 views

0
votes

Jquery Select Option In Dropdown

How can we select a Dropdown list in jQuery?

Answers
P
Sowjanya Kodiganti

Posted on 28th February 2024

You can use this: $('select') If your options contain a value. val("value of that option you require to select"); 'select' would be the specific id of either your select or the class selector. Or else if there is simply one select, you can utilize the tag as it is.

If you are looking for the Jquery certification course, you can check out this Jquery Online course by Mindmajix.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos