Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/10/2006, 08:47
Avatar de Nova
Nova
 
Fecha de Ingreso: enero-2003
Ubicación: Hyo
Mensajes: 832
Antigüedad: 22 años, 1 mes
Puntos: 1
Como abrir un pop up con OnClick en un text box!!

Hola a todos
Bien lo que quiero hacer es una simple caja de texto y que cuando haga click en la caja debe de abrirse una nueva ventana.
Lo hice asi pero no funciona,,,,,, Necesariamente el ejemplo tiene que ser con PHP porque esta pequeña aplicacion la voy a agregar a una aplicaión mas grande.
Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?	echo  "<input name='dateIndienst' maxLength=10 type='text' id='dateIndienst' value='prueba de ejmplo' onClick='window.open('http://www.microsoft.com/','mywindow','width=400,height=200')'>";
?>
</body>
</html> 
__________________
http://about.me/jemano