Created
February 11, 2013 11:51
-
-
Save carlwoodhouse/4754051 to your computer and use it in GitHub Desktop.
radio, do something when selected value changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#marksradio").change(function () { | |
var selectedValue = $("#marksradio option:selected").val(); // or .text(); | |
// do some shit with selectedValue | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment