
04/02/2008, 14:43
|
| | Fecha de Ingreso: febrero-2008
Mensajes: 3
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Arreglos con select? AYUDA Hola!
Tengo un problema quisiera ver si alguien me puede ayudar, es en asp
Necesito que en una pagina el usuario seleccione un producto pero este producto es un arreglo en un select, y que me mande la opcin seleccionada a otra pagína .
Mi problema esta en que me manda el indice del arreglo como puedo ghacer para que me mande la informacion.
el codigo es el siguiente
If nCLAVE=clave2 then
xj = xj+1
Response.Write("<TR><TD ALIGN=LEFT COLSPAN = 4 Class= headed1 > PRODUCTOS DE REEMPLAZO</TD></TR>")
Response.Write("<TR>")
Response.Write("<TD Class= headed2 NOWRAP> CLAVE-- NOMBRE-- Precio-- Costo </TD>")
Response.Write("<TD COLSPAN=3> "&xclave&" "&xNOMBRE&" " &XPrecio&" "&XCosto&" </TD>")
Response.Write("</TR>")
Response.Write("<TR>")
Response.Write("<TD Class= headed2 NOWRAP> CLAVE2-- NOMBRE2-- Precio-- Costo </TD>")
RESPONSE.WRITE("<td> <SELECT SIZE=1 NAME=xclave2("& xj &") WIDTH=20 SIZE=20>")
RESPONSE.WRITE("<OPTION SELECTED VALUE=" &SPACE(20)& ">" &SPACE(20)& "</OPTION>")
FOR J = 1 TO CONTADOR7
IF NCLAVE=XCLAVE THEN
RESPONSE.WRITE("<OPTION VALUE="+DATOS7(J)+">"+DATOS7(J)+"--"+DATOS10(J)+"</OPTION>")
END IF
NEXT
RESPONSE.WRITE("</SELECT>") |