Vote count: 0 I have a basic sign-in page using Bootstrap where a user enters an email address and password and then presses a "Sign-In" button to log into our online app. The bootstrap button uses the "data-xxx-complete" text identifier to change the color and state of the button to "Authenticating..." after the user has clicked it. I was able to use an event handler to trap the enter key and force a form submit, but what I really want to do is trap the enter key to make it act just like the user clicking the sign-in button so I get the "Authenticating..." state change on that element before the form submits. Here is the button: echo ""; echo ""; echo "...
ادامه مطلب