开发者

ASP.NET MVC not submitting in Internet Explorer

开发者 https://www.devze.com 2023-01-17 23:50 出处:网络
$(\'#btn\').submit(function () { $(\'#btn\').attr(\"disabled\", \"disabled\"); setTimeout(\'enableButton()\', 500);
$('#btn').submit(function () {
    $('#btn').attr("disabled", "disabled");
    setTimeout('enableButton()', 500);
    return true;
});

function enableButton() {     
    $('#btn').removeAttr('disabled');
}

How can I 开发者_StackOverflow中文版submit the form in Internet Explorer?


$('#aspnetForm').submit(function() { $('input[type=submit]', this).attr('disabled', 'disabled'); });

where aspnetForm is the name of the form

0

精彩评论

暂无评论...
验证码 换一张
取 消