.
Javasuck - Grin with cat attached — LiveJournal
Previous Entry Next Entry
Javasuck Dec. 5th, 2002 04:53 pm
An HTML page with two identical <SELECT> controls.
( [=< etc):


[SELECT name="select1"]
[OPTION value="3"]A[/OPTION]
[OPTION value="5"]B[/OPTION]
[OPTION value="7"]C[/OPTION]
[OPTION value="9"]D[/OPTION]
[/SELECT]


[SELECT name="select2"]
[OPTION value="3"]A[/OPTION]
[OPTION value="5"]B[/OPTION]
[OPTION value="7"]C[/OPTION]
[OPTION value="9"]D[/OPTION]
[/SELECT]

Javascript OnChange routine sets: select1.value=select2.value

Set select2 to A, (offset=0,value=3).

In IE-MAC, select1 will now be D (offset=3, value=7)
In MOZ-MAC and IE-WIN, select1 will now be A (offset=0, value=3)



This is a bloody PITA. Or am I just nuts?

(no subject) - (Anonymous)
From: wechsler
Date: December 5th, 2002 - 11:05 am (Link)
Yes, I know... logic and computers, bad combination.