jQuery - Page Component - Alert Boxes


/ Published in: jQuery
Save to your folder(s)

jQuery - Page Component - Alert Boxes


Copy this code and paste it in your HTML
  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


Comments


You need to login to view comments.