Synchronizing dropdown lists

Discussion in 'PHP and MySQL' started by kujo2123, Jan 21, 2013.

  1. kujo2123

    kujo2123 Perch

    I'm wondering if anyone can steer me in the right direction on this:

    I have a form with a couple of dropdown boxes for the State. One dropdown is at the top of the form, the other at the bottom.

    What I'd like to do is if someone changes the value of either dropdown, it sync's up with the other dropdown. I've been trying variations of the selectedIndex, value, etc to no avail. Also to note, when the top value changes, it launches another javascript function to calculate some values. This recalc can happen when either changes, just that I want them to be in sync.

    Any ideas?

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services