Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding onkeypress to process Enter key on textbox drop
Message
De
13/12/2012 04:15:17
 
 
À
12/12/2012 14:30:01
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:
01559443
Message ID:
01559522
Vues:
26
>>Do you need some code (jquery) as how do I code KeyPress?
>
>I only need sample on how to bypass the default browser pre-defined saved values so it won't interpet that as a form submission. That one is like a dropdown list. When I hit enter on a dropdown list, this is to select an item on that field and not to submit the form. I would have assumed the onkeypress at the field level wouldn't grab that key as part of the form event key press.

Not sure what you are referring to here - a simple input control of type text should not trigger a submit whether auto-fill is enabled or not.
Can you show the html for the relevant control ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform