Hi all,
I've got two select boxes side by side - initially the right hand side box has ALL options in it - and the left hand box can be used to filter the options displayed.

Probably not the best way to do it (in fact, defintiely - it doesn't work in IE) but the left hand list has options whose values correspond to class names of the options in the right hand list. When an option in the left hand list is selected, all options in the right hand one which DON'T have this class are hidden, and all which DO are displayed. Using $("option ." + className).show() and .hide() works in Firefox but not in IE.

Is there a better approach to this?
--
Regards, Michael Price - [EMAIL PROTECTED]
---------------------------------------------------------------
Edward Robertson Ltd.  - 1 Bondgate, Darlington, DL3 7JA
Direct: 01325 245077   - http://www.edwardrobertson.co.uk
Office: 01325 489333   - http://www.internetwebsitedesign.co.uk
---------------------------------------------------------------
Registered Address:
1 Bondgate, Darlington, County Durham, DL3 7JA, UK
Registration Number: 3931089 - Company registered in England
---------------------------------------------------------------
This electronic message transmission contains information from
Edward Robertson Limited that may be proprietary, confidential
and/or privileged. The information is intended only for the use
of the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic transmission
in error, please notify the sender immediately by replying to
the address listed in the "From:" field.

Reply via email to