Hello Vagelis,
Cosider two listboxes d1,d2
to add values to d2 on clicking yo have to write the following in the script
document.forms[0].d2.options[0] = new Option(DisplayNmae,OptionValue);
Here Display Name is display value in the list box and Option Name is the name of that value.
to add numbers eg 45,46 to list box u have to write
document.forms[0].d2.options[0] = new Option("45","item1");
document.forms[0].d2.options[1] = new Option("46","item2"); ...
Here onwards plz specify u'r query clearly,Here u din't said whether the query is on HTML or some thing else.
let me here from u..
Prasanth.c
prasanth.c
|