Tuesday, October 12, 2010

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()