Expand|Select|Wrap|Line Numbers
- <input name="representative_select[]" type="radio" />
Expand|Select|Wrap|Line Numbers
- if(jQuery("input:radio[name=payment_option[]]:checked").length==0){
- str+='Please Select a Payment option\n';
- }
Expand|Select|Wrap|Line Numbers
- if(jQuery(name="representative_select\\[\\]").prop('checked').length==0){
- str+='\Select a Representative option';
- }
and then run these two statements
Expand|Select|Wrap|Line Numbers
- alert(jQuery("#single_rep"));
- alert(jQuery(name="representative_select\\[\\]"))
but when i append the prop() function with the 2 statements
Expand|Select|Wrap|Line Numbers
- jQuery(name="representative_select\\[\\]").prop('checked')
- jQuery("#single_rep").prop('checked')
can somebody help me in this regard that what do i need to do