Scripting an input element of an HTML form?

Posted by dfjhdfjhdf on Stack Overflow See other posts from Stack Overflow or by dfjhdfjhdf
Published on 2010-06-01T09:36:06Z Indexed on 2010/06/01 9:43 UTC
Read the original article Hit count: 180

Filed under:

By design I need an input element typed text but I do not need an input element typed submit. I want to submit what's written in the input element once the enter key pressed. How would I do that in JavaScript? Do I need tags and other stuff or could I do it without them (just using )?

© Stack Overflow or respective owner

Related posts about JavaScript