Developement platform : Linux
I'm using cgi.
I have 2 listbox (<select>) on the same page.
the first listbox will display all the item name(flat file) from a directory.
the second listbox will then display the content of the selected items in first listbox to the second listbox once the item in first listbox is clicked or selected.
below are my first listbox. i have no idea if that is correct or not.
@testList = `ls -1 /u/test/html/cgi-bin/tester/List`;
print"<select multiple=\"mult iple\">";
for(@testList){
$tester = $_;
print"<option>$ tester</option>";
}
print"</select>";
Pls advice and guide me through this. Thanks a lot
I'm using cgi.
I have 2 listbox (<select>) on the same page.
the first listbox will display all the item name(flat file) from a directory.
the second listbox will then display the content of the selected items in first listbox to the second listbox once the item in first listbox is clicked or selected.
below are my first listbox. i have no idea if that is correct or not.
@testList = `ls -1 /u/test/html/cgi-bin/tester/List`;
print"<select multiple=\"mult iple\">";
for(@testList){
$tester = $_;
print"<option>$ tester</option>";
}
print"</select>";
Pls advice and guide me through this. Thanks a lot
Comment