Tee,    I've stopped trying to figure out what Varien have going on in their
heads. When it comes to Magento I prefer to make my own .phtml files now. At
least that way I know they'll pass validation. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of tee
Sent: 03 April 2009 10:02
To: [email protected]
Subject: [WSG] TYPE attribute of BUTTON

quote on this page: http://htmlhelp.com/reference/html40/forms/button.html

The TYPE attribute of BUTTON specifies the kind of button and takes the
value submit (the default), reset, or button. The NAME and VALUE attributes
determine the name/value pair sent to the server when a submit button is
pushed. These attributes allow authors to provide multiple submit buttons
and have the form handler take a different action depending on the submit
button used.

My question: on each form, if only one button is used, it's really
unnecessary to have "type="button" " right?

Markup and accessibility wise, I never get a complaint from validators that
"type="button" is missing.

Asking this stupid question because Varien developers all of sudden decided
to add "type="button" to all buttons in Magento' phtml files.


Thanks!

tee


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



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

Reply via email to