Post
jQuery
How can we set the selected option of dropdown in jQuery using ID?
Posted on 31st May 2023
We can utilize the prop method. We can recover the element value utilizing the ID also apply the value as the jQuery val(). Work by using the following syntax, $('select option:selected').
Improve your knowledge in Jquery from scratch using Jquery Online Course.
STILL GOT QUERIES?
Copyright © 2013 - 2023 MindMajix Technologies