javascript - What's wrong with my JQuery syntax here? -
this code throwing me syntax error:
$("body").live("click", (function(){ if ((! mouse_is_inside) && ($("div#notification_box").is(":visible"))) { $("div#notification_box").hide(); $("p.exclamation").removeclass("exclamation_hover"); $.ajax("/videos/update_box.js"); } });
remove (
before function
. have mismatched parentheses.
Comments
Post a Comment