I'm trying to change the state of my jQuery Mobile checkboxes using the following code:
$('#_inputcb_Q801').prop('checked', false);
I also found the following solution on jQuery Mobile:
$('#_inputcb_Q801').prop('checked', false).checkboxradio('refresh');
but it gives this error:
Runtime-error Microsoft JScript: cannot call methods on checkboxradio prior to initialization; attempted to call method 'refresh'
How can I solve the problem ?