'elements'=>array(
'agree'=>array(
'type'=>'checkbox',
'onclick'=>'function(){ if ($(this).attr(\'checked\')) { $(\'#btnNext\').attr(\'disabled\', \'\'); } else { $(\'#btnNext\').attr(\'disabled\', \'disabled\'); } }'
),
in html onclick render with Encodes special characters, any solution?