Foros del Web » Programando para Internet » Javascript »

insertar formulario html en javascript

Estas en el tema de insertar formulario html en javascript en el foro de Javascript en Foros del Web. buenas si alguien me puede ayudar con esto: como hago para colocar un formulario hatml en esta sentencia en javascript este es el script if ...
  #1 (permalink)  
Antiguo 11/03/2012, 16:01
 
Fecha de Ingreso: febrero-2012
Mensajes: 84
Antigüedad: 12 años, 2 meses
Puntos: 3
insertar formulario html en javascript

buenas si alguien me puede ayudar con esto:

como hago para colocar un formulario hatml en esta sentencia en javascript

este es el script

if (this.score == 2){ }



y este es el formulario

<form action="funcionregistropt.php" method="post">
<input type="text" id="Editbox1" style="position:absolute;left:343px;top:540px;widt h:268px;height:37px;line-height:37px;z-index:2;" name="nick" value="" maxlength="10">
<div id="wb_Text1" style="position:absolute;left:217px;top:542px;widt h:119px;height:48px;z-index:3;">
<span style="color:#FFFFFF;font-family:Arial;font-size:13px;">Nombre de usuario y correo electronico:</span></div>
<div id="wb_Text7" style="position:absolute;left:283px;top:472px;widt h:327px;height:42px;z-index:4;">
<span style="color:#FFFFFF;font-family:'Times New Roman';font-size:19px;">Introduce tu nombre de usuario y tu correo electronico.</span></div>
<input type="submit" id="Button1" name="" value="Registrar" style="position:absolute;left:503px;top:617px;widt h:96px;height:25px;z-index:5;">
</form>




osea

que si se cumple el if aparece el formulario

if (this.score == 2){//aqui va el formulario }
  #2 (permalink)  
Antiguo 11/03/2012, 16:39
Avatar de funkii  
Fecha de Ingreso: junio-2010
Mensajes: 64
Antigüedad: 13 años, 10 meses
Puntos: 4
Respuesta: insertar formulario html en javascript

document.write ("HTML");

Igualmente te dejo esta Web: http://accessify.com/tools-and-wizar...ipt-convertor/
  #3 (permalink)  
Antiguo 11/03/2012, 16:57
 
Fecha de Ingreso: febrero-2012
Mensajes: 84
Antigüedad: 12 años, 2 meses
Puntos: 3
Respuesta: insertar formulario html en javascript

ok gracias

Etiquetas: formulario, html, input, php
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:47.