Button Type validation

One thing that should be checked during validation is the presents of a
type attribute in the button tag.  In Mozilla when button is a child of
a form, its default type is submit.  This can lead to unexpected results
when you simply want the button to trigger a bit of JavaScript code.
Script and Style tags require type attributes and I believe button
should require type as well.

Received on Wednesday, 22 January 2003 10:24:11 UTC