Item in Listbox to display content in another listbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chez
    New Member
    • May 2011
    • 9

    Item in Listbox to display content in another listbox

    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
  • MusoFreak200
    New Member
    • Oct 2009
    • 96

    #2
    hey mate

    i believe that this is the wrong section that you are using, if you add this to the javascript / ajax / dhtml forum section you may yield more results

    is it possible that you can post more code? what you have given me is not exactly enough for me to get a scope on your problem to solve it

    Comment

    Working...