how to set and get checkbox value in Javascript
Hi,
Could you let me know how to get checkbox value in javascript. If it's checked, should return true, otherwise returns false.
Also , how can i set the checkbox value in javascript. ?
Thanks
Dongzhi
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi,
Could you let me know how to get checkbox value in javascript. If it's checked, should return true, otherwise returns false.
Also , how can i set the checkbox value in javascript. ?
Thanks
Dongzhi
Hi!
Please take a look here
https://devcenter.appery.io/documenta...
https://getsatisfaction.com/apperyio/...
Hi Alena,
The following code works from the first link under the Radio section:
$('input[name="radio_group"][value="1"]').attr('checked', true);
$('input[name="radio_group"]').checkboxradio("refresh")
Thanks
Dongzhi