Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/06/2011, 13:17
Avatar de AdrianSeg
AdrianSeg
 
Fecha de Ingreso: enero-2010
Mensajes: 595
Antigüedad: 14 años, 2 meses
Puntos: 14
No se ejecuta en Internet Explorer

he posteado lago parecido en javascript pero he rehecho el código a jquery completo y sigo con el mismo problema...

Código Javascript:
Ver original
  1. <script>
  2. <!--
  3.  
  4. $(document).ready(function(){
  5.    
  6. $("#control").css("display", "none");
  7.  
  8.         $("#Otro").click(function(evento){
  9.                 if ($("#Otro").attr("checked")){
  10.                         $("#control").css("display", "block");
  11.                 }
  12.         });
  13.      
  14. });
  15. -->
  16. </script>
Código HTML:
Ver original
  1. Otros: <input type="radio"  name="prueba" value="Otro" id="Otro" />
  2.            
  3.    
  4. <div id="control" style="position:relative; top:20px; left:420px;">
  5.             <em>Escriba otra opci&oacute;n</em>  
  6. <input name="pi1" type="text" id="pi1" />    
  7.      
  8.             </div>