IE incorrectly returns elements by name as well as by id,
I'd recommend either changing your id (or your name)

Gareth


On 11/30/07, Matth <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I've been using prototype for some time now and have recently found a
> strange issue. I have a page with an hidden input field with name
> "menu" and another DIV with id "menu". When i do the usual $("menu") i
> get the hidden field with name "menu" in IE (work fine in FF). If I
> remove the name att from the hidden input field, the $("menu") returns
> the correct DIV, as expected.
>
> Any ideas as of why??
> >
>

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