Today I Learned - Rocky Kev

Tagged “form”

  1. TIL another way to prevent buttons from submitting HTML

    When you have two buttons, you can use 'type=button' to stop them from submitting a form.

  2. TIL how to set up autogrowing textarea fields

    There's some css tricks to autogrow textarea. There's also a nice piece of JS to use to do it as well!

  3. TIL you can wire different inputs to different forms

    You can add the form element inside a input, to point specifically to the form you want to target.

See all tags.