
07/06/2002, 11:20
|
| | Fecha de Ingreso: mayo-2002
Mensajes: 48
Antigüedad: 23 años Puntos: 0 | |
valores en radio boton El primer valor de un radio es uno, el segundo boton el valor dos.
Como mantengo los valores a traves de varios sumit mas adelante
************************************************
<td width="22%" valign="top">Naturales
<input type="radio" name="radio1" style="cursor:hand"
OnClick="CondicionKey()" value="<%=request(HidCondicionKey)="1 "%>" >
</td>
<td width="22%" valign="top">
Juridicas <input type="radio" name="radio1" style="cursor:hand" OnClick="CondicionKey()" value="<%=request(HidCondicionKey)="2 "%>>
</td>
**************
esto es javascrip
function CondicionKey()
{
if (frmConsultaCentro.radio1[0].checked ==true)
frmConsultaCentro.HidCondicionKey.value=01;
else
if(frmConsultaCentro.radio1[1].checked ==true)
frmConsultaCentro.HidCondicionKey.value=02;
frmConsultaCentro.submit();
}
</script>
******************** ASP
este valor se pierde a travez de varios sumit como puedo utilizar
xt=request("HidCondicionKey") 'EL VALOR DEL RADIO BOTON SE PIERDE A TREVES DE VARIOS SUMM
<%if session("xt")=request("HidCondicion Key") then
else
end if%> Como puedo hacer o en asp se puede manejar LOS BONTONES CON SUMIT SIN PERDER EL VALOR DE LOS RADIO |