Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • This is exactly how things work, with the INPUT tag, not so much with the BUTTON tag. Commented Oct 26, 2010 at 3:07
  • I'll try the type="submit" attribute again once I get back into the office. Commented Oct 26, 2010 at 8:38
  • For security also validate on the server, in case the user disables Javascript (Noscript) or doesn't even use a browser (Fiddler/Charles etc). I can't stress that enough ;) Commented Oct 29, 2010 at 2:25