2010-09-27 3 views
2
$('#btn').submit(function() { 
    $('#btn').attr("disabled", "disabled"); 
    setTimeout('enableButton()', 500); 
    return true; 
}); 

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

Comment puis-je envoyer le formulaire dans Internet Explorer?ASP.NET MVC ne pas envoyer dans Internet Explorer

+2

est '' # btn' un bouton submit'? –

+1

essayez d'utiliser $ ("# myform"). Submit (function() {}); –

+0

Oui c'est un bouton de soumission – maztt

Répondre

2

$ ('# aspnetForm') soumettre (function() {$ ('input [type = soumettre]', this) .attr ('handicapé', 'handicapé');} ).

aspnetForm est le nom du formulaire

Questions connexes