Browse - programming tips - why is html button submittingDate: 2009nov3 Q. Why is my HTML button submitting? A. In some browsers it does that. You need to add type=button so it doesn't submit, like this: <button type="button">Hello</button> Which is the same as: <input type="button" value="Hello">
Add a commentSign in to add a comment |