1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Nouvelle page 1</title>
<script charset="utf-8" type='text/javascript'>
function foo(obj,dest){
document.getElementById(dest).appendChild(obj.options[obj.selectedIndex])
}
</script>
</head>
<body>
<select ondblclick="foo(this,'two')" id="one" size="5" style="width:80px;">
<option value='1'>1</option>
<option value='2'>2</option>
<option value='3'>3</option>
<option value='4'>4</option>
<option value='5'>5</option>
</select>
<select ondblclick="foo(this,'one')" id="two" size="5" style="width:80px;">
</select>
</body>
</html> |
Partager