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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -