MemoryRefresh!

Element / Disable event     Disable event



Questions Answers 0%

Pages   0 from 16
Questions   0 from 21

Reset



<script src="code.jquery.com"></script> <a href="javascript:void(0)" onClick='alert(1)' id='mydiv'>text</a> <script> $('#mydiv').removeAttr("onclick"); // no alert (on click) </script> stackoverflow.com
1) Disable click event handler.










<script src="code.jquery.com"></script> <a href="javascript:void(0)" onClick='alert(1)' id='mydiv'>text</a> <script> $('#mydiv').removeAttr("onclick"); // no alert (on click) </script> stackoverflow.com





Programming

Php
   
Regex
   
MySQL
   
Css
   
jQuery
   
Git
   


References
n/a