javascript - Unexpected token in jQuery -


this site working fine errors have appeared.

unexpected token ( - mean? looks correct me, , has been working fine many months.

<script>     function (){      <--"uncaught syntaxerror: unexpected token (" here         $(".message").focus(function() {             $("#bubble").fadeout();         }).blur(function() {             $("#bubble").fadein();         });     })(); </script> 

you haven't specified function name...

i.e.:

function functionname() { ...} 

which can later call functionname();

i guess you're trying use (function () { ... })(); (iife)


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -