Search
Generic filters
Exact matches only

Get value/text from select dropdown and show div

20th July 2013

Jquery - Strings

jquery icon

Get value from selected dropdown.

dropdownvalue
dropdownvalue

Most basic way is

There are two ways depending on of one page is being called inside another page.

Another variation on this is: –

Get the text of the dropdown

This next code will show an amount of div you decide upon.

Was this code snippet helpful?

Comment on this Code Snippet?