(home | about | stats)

Optgroup to two-lists

Take one <select> with optgroups and turn it into two lists, one with the groups and the second with the contents, so the contents of the second change depending on the selected item in the first.

kryogenix.org owner. This is a pwyky site. Edit this document.