[thelist] Form Submittal on Enter

.jeff jeff at members.evolt.org
Tue Jan 29 14:47:00 CST 2002


joshua,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Joshua Olson
>
> That sort of trickery is exactly what Andrew may be
> trying to avoid.  I agree with Andrew--it would be nice
> to be able to specify which of the buttons is the
> default.  But, wishing can only go so far...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

oh, you mean like with a default="default" attribute value for the default
button?  sure, i suppose you could add something like that to the spec, but
it's kind of redundant (as the behavior up til now has been that the first
one in the source is the default) and will cause all sorts of havoc with
legacy browsers.  what's really so hard about just assuming the first one in
the source will be first and using some table trickery to achieve the
desired result?  it's not like it requires all that much code or effort to
implement.

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/





More information about the thelist mailing list