ovviamente SI:
saluti..codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>test</title> <script language="javascript"> function moveItem(theListBox) { if(theListBox.selectedIndex == -1) return false; txtArea.value += theListBox.options[theListBox.selectedIndex].label + "; "; theListBox.options[theListBox.selectedIndex] = null; } </script> </head> <body> <select name="myListbox" size="10"> <option label="Valore 1" value="1">Valore 1</option> <option label="Valore 2" value="2">Valore 2</option> <option label="Valore 3" value="3">Valore 3</option> <option label="Valore 4" value="4">Valore 4</option> <option label="Valore 5" value="5">Valore 5</option> </select> <input type="button" value=">>" id="myCmd" onClick="Javascript:moveItem(myListbox);"> <textarea id="txtArea" rows="10" cols="20"></textarea> </body> </html>

Rispondi quotando