2 Replies Latest reply on Aug 6, 2013 3:38 AM by chanjob

    h:selectBooleanCheckbox with javascript

    chanjob Newbie

      hi,

       

      I try to use javascript to control the checkbox, but javascript didn't trigger the onclick event.

       

      Please help. Thanks.

       

      Javascript call

       

      obj= jQuery("#SearchResult:resultTable").find(":checkbox").attr("checked",iVal);

       

      <h:selectBooleanCheckbox id="eind" value="#{report.emailBooleanInd}" style="margin-left:57px">

      <a4j:support   event="onclick"/>

      </h:selectBooleanCheckbox>