Im trying to check checkboxes based on a cfselect selection. Im trying .prop but is not passing the info to the check box
I added p#testing.html to see if the query was working and it is passing info as text based on selection but not to checkbox
function roleCallback(text)
{
$('p#testing').html(text);
var roleInfo = new Array();
roleInfo = text.split('|');
var roleInfoLength = roleInfo.length;
for (var i = 0; i < roleInfoLength; i++) {
$('input#grant_AppId' + i).prop('checked', true);
$('input#revoke_AppId' + i).prop('checked', false);
}
}
Any ideas???