Page 1 of 1

How do you manually set a checkbox to "checked" or "unchecked".Stuck here

Posted: Wed Aug 03, 2016 9:17 am
by Clement Yew

How do I manually set the checkbox to ticked?
I've tried the method recommended from the forums but it doesn't work.

This method doesn't work :
Appery('mobilecheckbox_175').find('input[type="checkbox"]').prop("checked",false);

However, if I just try to get the checkbox status, it works :
Appery('mobilecheckbox_175').find('input[type="checkbox"]').prop("checked") --- returns true/false

So, I'm able to read the value, but not able to "set" the value. How do I go about this? I'm using Jquery checkboxgroup by the way.

Thanks.


How do you manually set a checkbox to "checked" or "unchecked".Stuck here

Posted: Wed Aug 03, 2016 5:21 pm
by Evgene Karachevtsev

Hello Clement,

Please check this link, it should help: https://getsatisfaction.com/apperyio/...


How do you manually set a checkbox to "checked" or "unchecked".Stuck here

Posted: Tue Aug 09, 2016 7:45 am
by Clement Yew

Thanks. Got it.
should call refresh() after that.