0

there is one element in my html called bootstrap switch and I wantto trigger onchange event on that switch. I tried different events but none of them worked for me. then i saw event listened on particular switch so I found already onchange event is there triggering from jquery.min.js. but I want to fire my own event to do some stuff. How do I proceed and cancel default event ?

html bootstrap switch

<div class="col-md-3">
   <div class="actions">
     <input type="checkbox" name="dummydata" id="dummydata" class="make-switch" checked data-on="success" data-on-color="success" data-off-color="warning" data-size="small"> 

    </div>
 </div>
SaMeEr
  • 361
  • 2
  • 7
  • 22

0 Answers0