Clement Yew
Posts: 0
Joined: Tue Jun 16, 2015 8:40 am

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

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.

Clement Yew
Posts: 0
Joined: Tue Jun 16, 2015 8:40 am

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

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

Return to “Issues”