Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a button with IE 7.0
Message
De
07/10/2013 09:57:42
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Disabling a button with IE 7.0
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:
01584896
Vues:
61
I have a situation where a user succeeded to click twice on a button so it launched the same transaction, where the second one shouldn't have been because I disable the button on click. I am using this:
        loButton.Attributes.Add("onClick", "this.disabled=true; document.Form1.submit(); return false;")
Or, from HTML, it gives:
<td colspan=3 class="Center">
<input type="submit" name="LabelSomething" value="Something" onclick="this.disabled=true; document.Form1.submit();
 return false;" id="LabelSomething" style="width:150px;" />
However, when I look at the log, I can see that the user succeeded to click twice on that button the same second. That would be practically impossible to do with one browser as the button becomes disabled on click or with two browsers the time it would take to switch back.

I am beginning to think that IE 7.0 does not support that javascript or that the user disabled the javascript support or lowered the security so low that javascript does not work.

Is there someone who can confirm me that this is suppose to work in IE 7.0? ...and to provide some feedback on this.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform