title: Prevent calling onchange event when checkbox value changes
body: <p>I would like to prevent triggering the onchange event of selectbooleancheckbox when its value is toggled in toggleBillableChkBox method.</p>
  
  <pre><code>&lt;p:selectBooleanCheckbox value="#{myBean.billableBoolean}" widgetVar="billableEditVar"
      id="billableEdit" onchange="showBillableForEdit(this)"&gt;
  &lt;/p:selectBooleanCheckbox&gt;
  
  function showBillableForEdit(obj){
       if(obj.checked){
          confirmBillableYesEdit.show();
      } else{
          confirmBillableNoEdit.show();
      }
  }
  
  
  &lt;p:confirmDialog id="confirmBYesEditId" header="Please Confirm" severity="alert" visible="false"      
      widgetVar="confirmBillableYesEdit" 
      message="edit Are you sure  you want to invoice this service ?" &gt;
      &lt;p:commandButton value="Yes" oncomplete="confirmBillableYesEdit.hide();" global="false" &gt;
      &lt;/p:commandButton&gt;
  
      &lt;p:commandButton value="No"   onclick="toggleBillableChkBox();"
          oncomplete="confirmBillableYesEdit.hide();"&gt;
      &lt;/p:commandButton&gt;
  &lt;/p:confirmDialog&gt;
  
  
  function toggleBillableChkBox() {
      billableEditVar.toggle();
  }
  </code></pre>