Hi,
I get the same results with IE6 at my end: 0. Opera 9 (Windows) shows
2, as does Safari 3.1.1 (Windows).
Very strange! Another intriguing difference is that if I add this
pair of lines:
] s2 = document.getElementsByTagName("select");
] alert('Size from gebtn: ' + s2.length);
FF shows what I expected before I thought about it: "Size from gebtn:
2". So does Safari. IE and Opera take the other tack: The select
box with the id "length" replaces the length property -- IE: "Size
from gebtn: [object]"; Opera: "Size from gebtn: [HTMLSelectElement]".
I think the lesson here is: Don't use "length" as an ID. ;-)
--
T.J. Crowder
tj / crowder software / com
On Apr 28, 3:28 pm, Domini <[EMAIL PROTECTED]> wrote:
> I think I found another pitfall of IE...
>
> IE6 - 0,
> IE7 - 0,
> Safari - 2,
> Firefox - 2.
>
> Can anyone try Opera?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---