Posted By

madebycrunch on 10/31/14


Tagged


Versions (?)

jQuery - Page Component - Alert Boxes


 / Published in: jQuery
 

jQuery - Page Component - Alert Boxes

  1. $(".alert_box").delegate("a.close", "click", function(event) {
  2. event.preventDefault();
  3. $(this).closest(".alert_box").fadeOut(function(event){
  4. $(this).remove();
  5. });
  6. });

Report this snippet  

You need to login to post a comment.