-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard 'enter' fires submit button #30
Comments
Might be able to target the ENTER key by its code (keyCode == 13 for ENTER). |
☝️Yes, great suggestion @MissArray. Your use of datalist is great and leverages the accessibility of the HTML5 component. Would be great to get the final bit working. Right now when I hit |
@vlbee, might something like the following work? var getInput = document.getElementById('input'); |
@MissArray I'm not sure without looking at the project code again. I'm back mentoring next week and would be happy to look at it with you then during some down time if you like. :) |
Thanks, Vanessa, that'd be great; it's a useful feature. Have a good weekend and glad to have you back next week. |
No description provided.
The text was updated successfully, but these errors were encountered: