jQuery - Get the text value of a single value selected from a drop down box

Goal:

Get the text value of a single option selected from a drop down box

Solution:

You have a drop down box called ALaCarteDiscount

$('#ALaCarteDiscount option:selected').text()

 

Print | posted @ Tuesday, October 12, 2010 3:01 PM

Comments on this entry:

No comments posted yet.

Post A Comment
Title:
Name:
Email:
Comment:
Verification: