Using JQuery, I\'m trying to set an option as selected in a \'select\' element based on the query string.
This question is similar to this, however I still need to k
try to check selectObject.find('option[value="'+valueToSelect +'"]').length > 0
selectObject.find('option[value="'+valueToSelect +'"]').length > 0