select boxes and ordering

Giganews Newsgroups
Subject: select boxes and ordering
Posted by:  je…@thelimit.com (Jeff Thies)
Date: 7 Sep 2003

I have 10 select boxes, they have select values of 1 to 10 (one of
each value).

  I'd like to be able to change one of the select boxes and have the
rest reorder themselves accordingly.

  I thought this would be simple, as the values of the other select
boxes are either incremented up (if going from a smaller value to a
larger) or incremented down over the range of the old value to (and
including) the new value.

  Then it occured to me that when you do an onchange that you only
know the new value, not the old.

  Anyone have a simple solution to this? I think I must just be
missing something.

  Cheers,
Jeff
(at the girlfriends, sorry about the Google post)

Replies