Posted By

paul0078 on 04/15/12


Tagged

javascript jquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hurcy


jQuery Click event


 / Published in: JavaScript
 

  1. $(".button_map").click(function() {
  2. alert('button clicked!');
  3. return false; // this line stops the browser from completing any default behaviour such as scrolling the page
  4. });

Report this snippet  

You need to login to post a comment.