开发者

ASP.NET MVC not submitting in Internet Explorer

$('#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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜