Error: Uncaught SyntaxError: Unexpected token ) на последней строке
Code:
jQuery(document).ready(function() { jQuery('#mainform').submit(function(){ var id = jQuery("input#id").val(); var pass = jQuery("input#pass").val(); var dataString = 'id='+ id + '&pass=' + pass; jQuery.ajax({ type: "POST", url: "public/auth.php", data: dataString, success: function() { jQuery('#mainform').hide(); jQuery('#response').html("<p class = 'success-box'>Успешная авторизация</p>"); }); } }); return false; }); </script> Those. he does not like the bracket, but, logically, and indeed, it should be here.
What does he not like?