-----BEGIN PGP SIGNED MESSAGE-----

per #7 of the IE & Netscape incompatibility list at:

http://www.4guysfromrolla.com/webtech/011200-1.shtml

you have to do something like:
        document.calc.cn[document.calc.cn.selectedIndex].value
instead of 
        document.calc.cn.value

to get it to work on both browsers - otherwise Netscape returns
a null for that value.

jay w.
[EMAIL PROTECTED]

worth 2 cents or more?
charlotte:
   http://www.two-cents-worth.com/?321155
ninth amendment foundation:
   http://www.two-cents-worth.com/?9
loaves and fishes:
   http://www.two-cents-worth.com/?127061



>   if (document.calc.cn.value=='CAD')
>       { rate=rate1; }
>   else
>       { rate=rate2; }
> 
> This works fine under Internet explorer. But under Netscape, I
> always get "rate2".
> 
> Is there a piece of code that works with both browsers?

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQEVAwUBOzSXocyM0YPqVE7FAQHN4gf/b+FQ0lWC97lmsm0qX1GICOj22rBGtgBz
TSHWrHB5YeHOifVUvUU5fqS2F5tPwO+5pUTlKQaKuy390vLhmObQYLTQ6+fvOVRO
E5pjyHIh5bXG/MTjw3toPqp7KKhP6rhZzu+EbWZknjEfgeF0JXBuADuvrK29Psu4
xqE9n1orKIUU4cfjv/i4zakGVlTubbYUq4FMHpmdkvLHJO30FGquB37w7XuL2lcb
f2opeeAgDOFLdtqSMCvFTLIVga3d3AeJ8HDETFWPs3MHxLxVVX8XWOzsvfjSjLI1
oJ74WHcEkI6uxkyfebvq8xM4+2JwDAhsr+HTIr5aThF9LGgM4OVNfQ==
=JzEz
-----END PGP SIGNATURE-----

---
You are currently subscribed to e-gold-tech as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to