$(document).ready(function() { $("#top_login").submit(function () { $(this).ajaxSubmit({ async: false, url: "/data_feed/validate_username_password.php", dataType: null, success: function(responseText, statusText) { var offset = $('#login_username').offset(); var left = offset.left; var top = 10+offset.top+$('#login_username').height(); var login_content = $("
Please ensure your email and password are correct.