Grin with cat attached (wechsler) wrote,
Grin with cat attached
wechsler

Javasuck

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?
Subscribe
  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 8 comments