Is it possible to submit a form by pressing enter without a submit button?

Can someone please explain whether it is possible to submit a form by pressing enter without a submit button?

Comments

  • You can hide the button as follows.

    <input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/>

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion