Set checkbutton to Selected

Hello,

I want to check a checkbox on page load.
The following javascript code is not working:

Appery("name").find('input[type="checkbox"]').prop("checked",true);

What javascript code do I need for checking a checkbox?

Thank you for your help
1 person has
this problem
+1
Reply