2. How to get the value of custom attribute in jQuery? This newly added option will be the selected option; to change this behavior remove the selected=”selected” part. version added: 1.0 jQuery( "[attribute='value']" ) attribute: An attribute name. Here Mudassar Ahmed Khan has explained with an example, how to dynamically add (insert) OPTIONs to DropDownList (HTML SELECT) using jQuery. HTML input readonly Attribute; jQuery :input Selector; How to set new value for an attribute using jQuery? In this tutorial you can learn how to Add, Cange, and Remove Attributes (like id, class, href, disabled, etc.) Getting Started with Select2 jQuery plugin in ASP.NET Core. How to use the new HTML5 data storage feature with jQuery data function for adding data into a HTML5 page and passing custom settings into jQuery code. How to Add Options to a Select Box from a JS Object using jQuery. How to Find an Element Based on a Data-attribute Value in jQuery. Do not rely on the selected attribute of