JScript to see if checkbox is checked
				Posted: Tue Sep 06, 2016 10:44 am
				by Deon
				Hi
 
 What is the the corrct syntact to see if a checkbox has been checked. 
 I have tried a few things. 
 Stackoverflow suggests this but alert returns not checked in both cases
 
 if (Apperyio("petboarding").checked)  { 
     alert('PB Checked'); 
 } 
 else { 
     alert('PB NOT Checked'); 
 }
 
 Thank you
 
			 
					
				JScript to see if checkbox is checked
				Posted: Tue Sep 06, 2016 2:03 pm
				by Serhii Kulibaba
				Hello Deon,
 
 Please use a JS code below for that:
 
 preif (Apperyio("petboarding").find("input").is(":checked")) {  
    alert('PB Checked');  
 } else {  
    alert('PB NOT Checked');  
 }/pre
 
			 
					
				JScript to see if checkbox is checked
				Posted: Tue Sep 06, 2016 3:26 pm
				by Deon