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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -