Désactiver la touche Entrée
Bonjour,
je cherche à interdire la touche entrée sur mon formulaire. Mais sa particularité c'est qu'il n'a pas de bouton submit mais un appel à une méthode javascript "creation()". Voici:
Code:
1 2 3
|
<html:button property="Annuler" onclick="annuler();"><bean:message bundle="application" key="bouton.annuler"/></html:button>
<html:button property="Valider" onclick="creation();"><bean:message bundle="application" key="bouton.valider"/></html:button> |
Si vous avez des suggestions....
Merci beaucoup.