JQUERY sets the SELECT code
- 2020-03-30 01:39:19
- OfStack
JQUERY can set the option of specified value as the selected item through the value value
Also: jQuery. Trim (STR) method, you can remove the Spaces before and after the string
$("#SelectId").attr("value", "theValueYouWantToSetIndex")
Also: jQuery. Trim (STR) method, you can remove the Spaces before and after the string