View Full Version : Chained select boxes with javascript in the options and fixed width

01-26-2013, 10:18 PM
Author: Arie Molendijk.

This script allows us to (i) chain select boxes and to (ii) use javascript in the options. It even works for IE7/8.
The inbuilt select box arrow is replaced with a custom one.
The width of the select boxes does not exceed the width of the main option, leaving more space on the page. But long options are entirely visible when the main option is clicked on.

Explanations and demo HERE (http://mesdomaines.nu/eendracht/selectbox_chained2/chained.html).