how to display check mark programatically? CLOSED MobiOne Archive > Getting Help – General This topic has 3 replies, 2 voices, and was last updated 11 years, 9 months ago by Brandon. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 31, 2013 at 10:20 am #337305 Reply PaulLeBlancParticipant Hello all, Can anyone help me with the correct syntax for displaying the check mark in a check box programatically? I have tried the following, but it does not work. $(‘#m1-settings-checkbox2’).prop(‘checked’,true); Paul March 31, 2013 at 10:46 am #337306 Reply BrandonMember Try this: $('#m1-settings-checkbox2').attr('checked',true) March 31, 2013 at 11:04 am #337307 Reply PaulLeBlancParticipant Thanks,you got me going in the right direction. I had to change it to the following and it works perfect! $(‘#m1-settings-checkbox2 > input’).attr(‘checked’,true); March 31, 2013 at 11:32 am #337309 Reply BrandonMember Sorry, that was my fault when I copied your info I accidently deleted the input from my sample: $('#index-checkbox1 > input').attr('checked',true) Author Posts Viewing 4 posts - 1 through 4 (of 4 total) Reply To: how to display check mark programatically? CLOSED You must be logged in to post in the forum log in