On Friday 19 January 2007 13:56, Michael Schuerig wrote:
> Supposedly Prototype extends the HTMLFormElement.prototype so that
> the following code ought to work
>
>   $('myform').focusFirstElement()
>
> Strangely, it does not work in Firefox 2.0. It complains that
> focusFirstElement is not a function.

Well, select is not broken and neither is focusFirstElement(). 
Unfortunately, in my concrete case it is. I'll have to find out and 
when it's something interesting or very dumb on my part, I'll follow 
up.

Michael
-- 
Michael Schuerig
mailto:[EMAIL PROTECTED]
http://www.schuerig.de/michael/

--~--~---------~--~----~------------~-------~--~----~
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