Uh...sorry?

I wasn't trying to post a complete solution here, just a thought as to how
you could go about auto-tabbing via the enter key without relying on tab
indexes. I never said it would validate, I suggested that the parentNode
would probably need to go, and said it was only FF compatible. It was an
idea, not a working solution.

And ideas should ALWAYS be welcome in a developers forum.

-Jerod



On 2/19/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
>
>
> Hey Jerod,
>
> Jerod Venema a écrit :
> > This is only set up to work in FF, and only tested in FF2, but it will
> > auto-tab to the next input field. It may need some more work if you're
>
> Actually it won't in a valid strict HTML document: form fields are not
> usable directly in the <form> element, they must be in a regular sort of
> container (e.g. <p>).  So relying on parentNode won't work.
>
> It also superbly ignores tabindex attributes, if defined.  More
> generally, it ignores everything Prototype, so it's not cross-browser
> (your using inline DOM-Level-0 event attributes will not work in IE,
> since the event object won't be passed), and it's still a lot of code.
>
> I appreciate your effort in trying to help, but since this is a Spinoffs
> group, and there was a valid Spinoffs solution posted, you may want to
> provide a Spinoffs-based, if possible cross-browser, solution :-)
>
> --
> Christophe Porteneuve aka TDD
> [EMAIL PROTECTED]
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to