JQuery - Get the selected item's text in a dropdown

By [)ia6l0 iii

Use the ":selected" modifier on the option element.

$("#dropDownName option:selected").text()

Related FAQs

You can use the RemoveClass method to remove the style on an element.
Use the Load method to load the html from a url into an element using jQuery. You will have to ensure that the url belongs to the same domain.
You can use Jquery plugin to hightlight text on a web page
Use the following script.
Use the each method to loop thru the element collection. The following example loops through the img elements.
Use the window.external.AddFavorite to Add to Favorites in Javascript
JQuery - Get the selected item's text in a dropdown  (2643 Views)