Hacker News new | past | comments | ask | show | jobs | submit login

Using <button> as a button? Enjoy your form submission when it's inside a form element. HTML is the most frustrating thing in the universe.



<button type="button"> does not do anything, even inside a <form>.


Ah, thanks, HTML is very un-intuitive, you have to know the behavior of each element




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: