Skip to content

Instantly share code, notes, and snippets.

@cjolly
Created April 12, 2012 21:43
Show Gist options
  • Save cjolly/2371206 to your computer and use it in GitHub Desktop.
Save cjolly/2371206 to your computer and use it in GitHub Desktop.
How to get the text of the selected option with jQuery
$('#select_list_id').live 'change', ->
selectedOptionText = $(this).find("option:selected").text()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment