On Wed, June 13, 2007 3:36 am, Robin Vickery wrote: > On 12/06/07, Richard Lynch <ceo@xxxxxxxxx> wrote: >> On Tue, June 12, 2007 9:33 am, Tijnema wrote: >> > I meant reverse order :P >> >> That would be pretty broken. >> >> There's no guarantee that browsers will present the inputs in any >> order at all, even though they all seem (so far) to follow the >> convention of presenting them in the order they appear in the form. >> >> If, however, one browser decides tomorrow to use the "tab" order >> instead, and your code breaks because of that, it's your fault, not >> the browser's. > > The HTML spec says that form elements should be presented in the order > they appear in the document. If the browser doesn't conform to spec, > it's not his fault. > > From the HTML 4.01 Specification: > > "The control names/values are listed in the order they appear in the > document. The name is separated from the value by `=' and name/value > pairs are separated from each other by `&'." Cool! I wonder if that came about as a result of HTML 3.x "issues"... :-) Might be where I remembered the ordering issue from. I guess it's okay to require HTML 4.01 or higher now, eh?... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php