How to retrieve selected text from a HTML dropdown element using jQuery?

I need to get the selected text from a dropdown box in my form to show another sub form. Please let me know how to do it using JQuery.

Comments

  • DavidMDavidM USA
    edited January 2014

    $("#IDofYourDropdown option:selected").text();

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion