[ Create a new account ]
A submit button (or any image used instead) SHOULD NOT have a "name" attribute, unless the form contains multiple submit buttons.
Why?
Firstly it's a extra thing you don't need, secondly it makes the resulting URL (if you use GET) much nicer (no image.x/image.y params).
You're supposed to use GET for any request that doesn't change anything, eg. search results. See:
Get More Comments
Reply
I give... (Score:1)
What problem does this avoid/solve?
I ask because I've always provided a name attribute, and not had any problems... (but I'm blissfully able to avoid IE, so that may be the reason I have no problem... intranet development is much nicer than Internet development
TIA
Re:I give... (Score:2)
Firstly it's a extra thing you don't need, secondly it makes the resulting URL (if you use GET) much nicer (no image.x/image.y params).
Re:I give... (Score:2)
Re:I give... (Score:2)
Re:I give... (Score:2)
You're supposed to use GET for any request that doesn't change anything, eg. search results. See: