Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/06/2009, 12:21
Avatar de juanmi321
juanmi321
 
Fecha de Ingreso: septiembre-2004
Mensajes: 262
Antigüedad: 19 años, 8 meses
Puntos: 1
Respuesta: Qué falta en este código javascript

Te refieres a algo como esto????

Código html :
Ver original
  1. <html >
  2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  3. <title>Documento sin título</title>
  4. function entra(){
  5.     document.location="http:('"+document.form1.usr.value+"').paginaweb.com/('"+document.form1.pass.value+"')";
  6. }
  7. </head>
  8. <form name="form1">
  9. <input name="usr" type="text">
  10. <input name="pass" type="password">
  11. <input type="button" name="button" id="button" value="Botón"  onclick="entra()"/>
  12. </form>
  13. </body>
  14. </html>
__________________
<>< EN MOMENTOS DE CRISIS, SOLO LA IMAGINACIÓN ES MÁS IMPORTANTE QUE EL CONOCIMIENTO <><