tee wrote:

My question: on each form, if only one button is used, it's really unnecessary to have "type="button" " right?
If you want a type="button", then it is necessary - since the default is "submit", not "button". OTOH, since a type="button" is useless without JS, I would generate one using JS/DOM rather than HTML.

If you do want a submit button, then I would generally suggest heading towards <input type="submit"> rather than <button> unless you really need the latter - since there are some delightful inconsistances between what HTML <button>s do according to the spec and what Internet Explorer does with them.

--
David Dorward
http://dorward.me.uk/


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to