Jump to content
iamtech

How to get text of selected option from a dropdown in IE?

Recommended Posts

iamtech

How to get text of selected option from a dropdown in Internet Explorer ?

Share this post


Link to post
Share on other sites
iamtech
10 hours ago, Danp2 said:

The forum has a search feature. Have you tried using it or Google?

Here's one example I found --

 

@Danp2 It was get value of selected option, I want to get Text of selected option.

Share this post


Link to post
Share on other sites
Danp2

@iamtech No, that isn't correct. Go back and review the code. Now... Notice how they are retrieving the innertext of the selected option? That should give you the text of the selected option, not it's value.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×