JQuery, getting value of checked radio button, why is this not working?-Collection of common programming errors

I am trying like below to get the value of a checked radio button but it just keeps giving undefined. I am using Firefox on Ubuntu so I don’t know if its some weird quirk of the browser or what, I would appreciate any advice as this is driving me crazy:



Jfiddle: http://jsfiddle.net/fD7fP/6/

Originally posted 2013-11-09 20:02:07.