Showing posts with label onclick. Show all posts
Showing posts with label onclick. Show all posts

Jquery - how to check what events are assigned to elements (.data)


If you use jquery events like below: 

 
<!doctype html>
<head>
<meta charset="utf-8"> 
<script src="./jquery-1.10.2.js"></script>

<script> 
 $(function() {
   $('#link').click(function(e) {
   console.log('klik jquery', e);
   return false;
  });
 });