C
Charles Packer
For the dynamically-fed two-listbox problem I queried
about earlier, a followup by VK pointed me to a
solid-looking script at
http://www.javascripttoolbox.com/lib/dynamicoptionlist
The documentation tells how to use it...up to a point.
One of its examples is the following:
<script type="text/javascript">
var names = new DynamicOptionList();
names.addDependentFields("sex","names");
names.forValue("boy").addOptions("Matt","Bob","Joe","Bill","John");
names.forValue("girl").addOptions("Jane","Angie","Jennifer","Amy","Sue");
names.forValue("boy").setDefaultOptions("Joe");
</script>
I assume that I'm supposed to put this in the body of my
test script. I also understand that I invoke it with a
"select" thingy...
<form>
<select [...?...] >
</select>
</form>
I think there's supposed to be something between the
brackets, above, but no clue is given. And, after
working through the Javascript tutorial at
http://www.w3schools.com/js/default.asp
I still haven't learned enough to figure out what it is...
Help would be appreciated.
about earlier, a followup by VK pointed me to a
solid-looking script at
http://www.javascripttoolbox.com/lib/dynamicoptionlist
The documentation tells how to use it...up to a point.
One of its examples is the following:
<script type="text/javascript">
var names = new DynamicOptionList();
names.addDependentFields("sex","names");
names.forValue("boy").addOptions("Matt","Bob","Joe","Bill","John");
names.forValue("girl").addOptions("Jane","Angie","Jennifer","Amy","Sue");
names.forValue("boy").setDefaultOptions("Joe");
</script>
I assume that I'm supposed to put this in the body of my
test script. I also understand that I invoke it with a
"select" thingy...
<form>
<select [...?...] >
</select>
</form>
I think there's supposed to be something between the
brackets, above, but no clue is given. And, after
working through the Javascript tutorial at
http://www.w3schools.com/js/default.asp
I still haven't learned enough to figure out what it is...
Help would be appreciated.