I am using:
var choice;
$('a.enter').click(function() {
choice = $('input:checked').val();
});
To determine choice for a radio button being checked.
Then, when running an event like:
$('a.exit').click(function() {
$('input').prop('checked', false);
});
I clear out the check.. Then when I run the first event again, instead of choice equaling the value of the checked radio button, it returns "undefined"
Any ideas?
Thanks!