Ver Mensaje Individual
  #24 (permalink)  
Antiguo 12/09/2005, 08:49
Avatar de Cap.Buscapina
Cap.Buscapina
 
Fecha de Ingreso: octubre-2004
Ubicación: Argentina
Mensajes: 836
Antigüedad: 19 años, 7 meses
Puntos: 4
<BODY OnLoad="llenar(document.myForm.ordenar0)">
<div align="center"><center> <!-- TEST DUAL LIST --> <form ACTION="otra.html" METHOD="get" name="myForm" onSubmit="verificar()">
<table border="0"> <tr> <td colspan="3"> <select name="seleccionar" onChange="cambiar(document.myForm.seleccionar.sele ctedIndex,document.myForm.listLeft.options.length) ">
<option value="selelecc" selected>Seleccionar una categoria</option> <option value="autos">autos</option>
<option value="camiones">camiones</option> <option value="motos">motos</option>
</select> <input type="text" name="cantidad2" maxlength="2" style="width:55;">
<input type="checkbox" name="filtrar" value="si" checked > Filtrar iguales </td><td width="98">
<div align="center">Ordenar </div></td></tr> <tr> <td width="142"> <select multiple size="12" style="width:170" name="listLeft">
<option value=" "> </option> </select> <input id="combo" type="button" name="veromitidos" style="visibility:hidden;width:170" onClick="ver()">
<select id="omitidos" name="omitidos" style="visibility:hidden;width:170" size="3" multiple onClic="document.myForm.valorx.value:'true'">
<option value=" "> </option> </select> </td><td> <div align="center"><br> <br>
<br> <br> <br> <input type="button" onclick="moveDualList( this.form.listLeft, this.form.listRight, false )"

name="Add" value=" &gt; "> <br> <input type="button" onclick="moveDualList( this.form.listLeft, this.form.listRight, true )"

name="Add" value=">>"> <BR> <br> <br> <br> <br> <br> <br> <div id="botones" style="visibility:hidden;">
<input type="button" onClick="moveDualList( this.form.omitidos, this.form.listRight, false )"

name="Add" value=" &gt; "> <br> <input type="button" onClick="moveDualList( this.form.omitidos, this.form.listRight, true )"

name="todos" value=">>"> </div></div></td><td width="170"> <div align="center">
<input type="button" onClick="orden(document.myForm.listRight.options.s electedIndex,document.myForm.listRight.options.sel ectedIndex-1)" name="arriba" value="arriba">
<input type="button" onClick="orden(document.myForm.listRight.options.s electedIndex,document.myForm.listRight.options.sel ectedIndex+1)" name="abajo2" value="abajo">
<input type="button" name="Button" value=" X " onClick="borrar(document.myForm.listRight.options. selected)">
<input type="text" name="cantidad" maxlength="2" style="width:20;" value="0">
<br> <select multiple size="16" style="width:170" name="listRight"> </select>
</div></td><td width="300"> <div id="criteriosdeorden" align="center"> <p> <input type="button" name="nuevocriterio" value="Nuevo Criterio" onClick="ver('criterios')">
<input type="button" Id="esconder" name="xx" value="Resetear" onClick="res()" style="visibility:hidden;">
<br> <select name="ordenar0" id="10" OnChange="llenar(document.myForm.ordenar1,document .myForm.ordenar0)">
<option value="x" selected> </option> </select> <input type="radio" name="ord0" value="asc" checked>
<input type="radio" name="ord0" value="dsc"> <br> <div id="1" style="visibility:hidden;"><select name="ordenar1" id="20" OnChange="llenar(document.myForm.ordenar2,document .myForm.ordenar1)">
<option value="x" selected> </option> </select> <input type="radio" name="ord1" value="asc" checked>
<input type="radio" name="ord1" value="dsc"> </div><div id="2" style="visibility:hidden;"><select name="ordenar2" id="30" OnChange="llenar(document.myForm.ordenar3,document .myForm.ordenar2)">
<option value="x" selected> </option> </select> <input type="radio" name="ord2" value="asc" checked>
<input type="radio" name="ord2" value="dsc"> </div><div id="3" style="visibility:hidden;"><select name="ordenar3" id="40" OnChange="llenar(document.myForm.ordenar4,document .myForm.ordenar3)">
<option value="x" selected> </option> </select> <input type="radio" name="ord3" value="asc" checked>
<input type="radio" name="ord3" value="dsc"> </div><div id="4" style="visibility:hidden;"><select name="ordenar4" id="50" >
<option value="x" selected> </option> </select> <input type="radio" name="ord4" value="asc" checked>
<input type="radio" name="ord4" value="dsc"> </div><br> <br> <br> <br> <br> <br>
<input type="button" name="Submit" value="Submit" onClick="verificar()"> </div></td></tr>
</table></form></center></div><p><center> </center>
</body>
</html>



ACLARACION:
Se pude llenar dinamicamente antes de cargar la pagina con php o asp.
Si no , utilizando AJAX , se puede hacer bastante mas dinamico.
Si no te sirve, pues le servirá a otro.


saludos
__________________
by Capitán Buscapina
.