Articles
FAQs
Login
JQuery - Get the selected item's text in a dropdown
By [)ia6l0 iii
Access over 40 UI widgets with everything from interactive menus to rich charts.
Use the ":selected" modifier on the option element.
$("#dropDownName option:selected").text()
Related FAQs
jQuery - Use RemoveClass function to remove a classon an element
You can use the RemoveClass method to remove the style on an element.
jQuery - How do I Load a URL in a div
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.
Use Jquery to highlight text
You can use Jquery plugin to hightlight text on a web page
Javascript - Find the .Net framework versions installed on a computer.
Use the following script.
jQuery - Loop through all elements of a specific type on a web page
Use the each method to loop thru the element collection. The following example loops through the img elements.
Add to Favorites in Javascript
Use the window.external.AddFavorite to Add to Favorites in Javascript
JQuery - Get the selected item's text in a dropdown
(
1139 Views
)