I am using this to check all checkboxes.
<input type="checkbox" id="all" onclick="$('input[name*=\'selected\']').attr('checked', checked);" />
as long as I use the normal checkboxes everything works fine. When I convert all to jQuery UI checkboxes: http://jqueryui.com/demos/button/#checkbox
They get checked -- but not in a visually -- the colors are not changing. I saw that when a jQuery UI checkbox is checked it gets this attribute aria-pressed="true"
Can someone help me understand how can I get this done!