Como puedo hacer que cuando selecciono un valor del select llamado "colorpaspartu" o introduzco un valor en la caja de texto llamada "CmsAnchoPaspartu" me desabilite el checkbox que se llama "barniz".
Mi codigo es:
Código:
Gracias <form name="form1" id="form1" method="get" action="tallerenmarcado.asp"> <td colspan="2" class="alineacionsuperior"> <select name="colorpaspartu" class="SELECT" id="colorpaspartu"> <option value="""" selected>Seleccionar el color del Paspartout</option> <%RsPaspartouts.movefirst do while not RsPaspartouts.eof%> <option style="background-color:#<%=RsPaspartouts("colorpaspartout")%>" value="<%=RsPaspartouts("colorpaspartout")%>"><%=RsPaspartouts("referenciapaspartout")%></option> <%referenciapaspartout=RsPaspartouts("referenciapaspartout") RsPaspartouts.movenext loop%> </select> <td width="31%" class="items alineacionsuperior">Ancho del Paspartut <input name="CmsAnchoPaspartu" type="text" class="cajadetexto" id="CmsAnchoPaspartu" value="<%=CmsAnchoPaspartu%>" size="6" maxlength="4"> <td width="30%" class="items alineacionsuperior"><input type="submit" class="botonesformulario" value="Enmarcar"> <input name="fotolamina" type="hidden" id="fotolamina" value="<%=fotolamina%>"> <input name="fotolaminaancho" type="hidden" id="fotolaminaancho" value="<%=fotolaminaancho%>"> <input name="fotolaminaalto" type="hidden" id="fotolaminaalto" value="<%=fotolaminaalto%>"> <input name="fotoliston" type="hidden" id="fotoliston" value="<%=fotoliston%>"> <input name="fotoesquina" type="hidden" id="fotoesquina" value="<%=fotoesquina%>"> <input name="fotoesquinaancho" type="hidden" id="fotoesquinaancho" value="<%=fotoesquinaancho%>"> <tr> <td colspan="4"> </td> </tr> <tr> <td width="13%" class="items alineacionsuperior">Cristal Brillo</td> <td width="26%" class="items alineacionsuperior"><input name="cristal" type="radio" id="radio" value="1"></td> <td class="items alineacionsuperior"> Cristal Mate <input type="radio" name="cristal" id="radio2" value="0"> </td> <td class="items alineacionsuperior">Barniz <input name="barniz" type="checkbox" id="barniz" value="0"> </form>