Re:There IS a bug in IE for the Mac
on
Pet Bugs?
·
· Score: 1
Ok, so my demo does not work so well (stripped). Email me if you want it, but easy to reproduce.
Mike
There IS a bug in IE for the Mac
on
Pet Bugs?
·
· Score: 1
There is a bug in IE for the Mac: Q216593 - PRB Scripting Differences in Internet Explorer for Macintosh http://support.microsoft.com/support/kb /articles/Q 216/5/93.ASP
That article claims the following:
"ECMAScript (JavaScript) is supported; the same version of the JScript script engine that ships with the Windows version of Internet Explorer also ships with Macintosh Internet Explorer. "
The above is not true because it seems like the Mac IE reports the array length for the second set of radio buttons on a page as 0 (zero) regardless of the length. The first is not affected, nor is the third.
I have written a short demo script for those of you that would like to try this. Just copy the entire code and give it a try in your browser.
Set 1 value 1
Set 1 value 2
Set 2 value 1
Set 2 value 2
Set 2 value 3
Set 3 value 1
Set 3 value 2
Set 3 value 3
Set 3 value 4
The values *SHOULD* be 2, 3 and 4 for set1, set 2, and set 3 respectively. This is NOT the case with IE for the Mac. It reports 2, 0, and 4.
I just want you make everyone aware of this problem. To get around this, you have to check the status of the radio buttons using the elements array.
Ok, so my demo does not work so well (stripped). Email me if you want it, but easy to reproduce.
Mike
There is a bug in IE for the Mac:b /articles/Q 216/5/93.ASP
Q216593 - PRB Scripting Differences in Internet Explorer for Macintosh
http://support.microsoft.com/support/k
That article claims the following:
"ECMAScript (JavaScript) is supported; the same version of the JScript
script engine that ships with the Windows version of Internet Explorer
also ships with Macintosh Internet Explorer. "
The above is not true because it seems like the Mac IE reports the array
length for the second set of radio buttons on a page as 0 (zero)
regardless of the length. The first is not affected, nor is the third.
I have written a short demo script for those of you that would like to
try this. Just copy the entire code and give it a try in your browser.
Set 1 value 1
Set 1 value 2
Set 2 value 1
Set 2 value 2
Set 2 value 3
Set 3 value 1
Set 3 value 2
Set 3 value 3
Set 3 value 4
The values *SHOULD* be 2, 3 and 4 for set1, set 2, and set 3
respectively. This is NOT the case with IE for the Mac. It reports 2,
0, and 4.
I just want you make everyone aware of this problem. To get around
this, you have to check the status of the radio buttons using the elements
array.
This bug cost me some time a while ago.
Mike