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 rubyonrails-spinoffs@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---