[whatwg] [wf2] Default submit button determination and autofocus

Michael Gratton michael at quuxo.com
Thu Apr 7 06:04:17 PDT 2005


On Thu, 2005-04-07 at 14:38 +0200, Anne van Kesteren wrote:
> Current WF2 defines a way to determinate the default submit button[1].
> While it is quite useful it would be even more useful if you could
> decide which is the default submit button in WF2 compliant UAs:

Yes, I agree. I think Hixie put it on some TODO for the spec.

> ASP.NET2 provides quite a useful way[2] to point to the default submit 
> button and the button that should get autofocus.

How does that work? Does it automatically generate and install an
onsubmit handler to make sure the correct button is submit-ed? Or does
it use an IE extension?

> Personally I think declaring them on the FORM element might make more 
> sense.

"+1"

-- 
Michael Gratton, Software Architect.
Quuxo Software <http://web.quuxo.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050407/bd3cb69d/attachment-0001.pgp>


More information about the whatwg mailing list