aggregate
Posts: 0
Joined: Thu Apr 24, 2014 11:37 am

checkbox group and checkbox item behaviour

Hi,

I am trying to use this logic in an onclick action but it does not seem to work. I always get a false response from the click. The "this" is a checkboxitem. Appreciate your guidance!

try{
alert('value check --'+Appery(this).find('input').is(':checked')); //always returns false
if(Appery(this).find('input').prop('checked')===false){ //always returns undefined
alert('add');
createGroupSession.execute();}
else if(Appery(this).find('input').is(':checked')===true){
alert('delete');
queryGroupSessionRecord.execute();deleteGroupSessionRecord();}
}
catch(err){
alert(err);}

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

checkbox group and checkbox item behaviour

Hi -

How exactly you are testing this?

Return to “Issues”