Generally we can specify the HTML Select options selected value by writing HTML Code. Type the characters you see in the picture below. Note: The value "-1" will deselect all options (if any). Making statements based on opinion; back them up with references or personal experience. Working code with 2.2.4 Codepen Not working with 3.3.1 version. HTMLSelectElement]option:selected", the string [object 3. jQuery not working on 2nd page of SharePoint list. Thank you! BTW I did a little fiddling with your own script and it seems that the problem is using an id with . Definition and Usage. 1. jquery in SharePoint 2010 layouts folder not working. In this example, I am going to disable selected options and display it in a div when selected. My website has a lot of select-elements and they really do not work well! What guarantees that the published app matches the published open source code? want to know when you say "you can't add a dom element to the string May 14, 2016 06:59 AM | Fei Han - MSFT | LINK 0. HTMLSelectElement] - it is not an id, class, name, tag name - you'll get, Provide the permalink of a topic that is related to this topic, $(this + "option:selected").attr("rel") option selected is not working in IE, Re: $(this + "option:selected").attr("rel") option selected is not working in IE,