On my form I havea set of radio buttons. Here\'s the mark up:
Format
demo
http://jsfiddle.net/Vq2jB/2/
var isChecked = jQuery("input[name=fileType]:checked").val();