[thelist] Javascript to alter a select list

Christian Heilmann codepo8 at gmail.com
Tue Jul 12 16:45:00 CDT 2005


> I found a lot of one-off scripts but nothing generic.  Heck I don't even
> need for it to be free.  And as I type this I get thinking it might be
> better to create each version of the select list and just use those.
>     So back to the question.  Anyone have an example of building select
> lists with option groups?

It might be helpful not to  tell us about all the cool things you have
done, but  really explain what you mean by "building select lists with
option groups"?

Do you mean dynamically generating them from an associated array, a
list of objects or do you  mean  dynamic lists where changing one will
change the other or what?

My (still) current article on ALA deals with complex lists and
approaches the issue in another way, via  nested lists (1) and bobby
van der sluis has released some unobtrusive select scripts (2).

Generally on scripting, wait a bit, we are on to something there, for
the time being  check the tutorials listed on obsoletely famous (3).
There are many bad bad resources on JavaScript out there, beware.

(1) http://www.alistapart.com/articles/complexdynamiclists/
(2) http://www.bobbyvandersluis.com/articles/unobtrusivedynamicselect.php
(3) http://icant.co.uk/of/feeds.php?t=js

-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/


More information about the thelist mailing list