Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a button with IE 7.0
Message
De
07/10/2013 11:22:43
 
 
À
07/10/2013 10:44:02
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01584896
Message ID:
01584903
Vues:
36
>I have read somewhere that the disabled attribute is not supported in IE, prior version 8. That would explain. However, to test that, I would need to install IE 7 somewhere. I will add more input to this once I can simulate it.

I think that only applied to 'option' controls - not 'input'

However, I thought that if you disabled before submitting then the submit doesn't happen. i.e. your code should be:
loButton.Attributes.Add("onClick", "document.Form1.submit(); this.disabled=true; return false;");
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform