[thelist] Stupid JS trick
Simon Coggins
ppxsjc1 at unix.ccc.nottingham.ac.uk
Thu Aug 9 05:58:38 CDT 2001
> > I need the select elements to show dynamic values based on the
> > selections of the other select elements, using JavaScript to avoid a
> > refresh.
>
> I am not a guru in these matters, but I believe that to remove an element of
> an HTML select box requires a refresh, even if you remove the element via
> JavaScript.
You can do this without a refresh. Here's an example:
http://www.acritech.com/examples/dynamicselect.html
There are other examples and tutorials out there too. Try a search for
"dynamic javascript select"
HTH
Simon
More information about the thelist
mailing list