Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/05/2008, 12:34
gerkin
 
Fecha de Ingreso: enero-2008
Mensajes: 84
Antigüedad: 16 años, 3 meses
Puntos: 0
no puedo llenar compo de texto

no se porque no puedo escribir nada en un campo de texto que esta inicializado con una variable php. Aca les pongo el codigo a ver si me ayudan gracias.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script>
function restaurar(){
window.focus()
setTimeout("restaurar()",100);}

restaurar();
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Modificar Producto</title>
<link href="HojaEstilo.css" rel="stylesheet" type="text/css">
</head>

<body>
<form action="#" method="post" name="Modificacion_Producto">
<h2 align="center" class="Titulo1">Modificar Productos </h2>
<table width="426" border="1" align="center">
<tr>
<td colspan="3" align="center" bordercolor="#E0DFE3" bgcolor="#CCCCCC">Formulario Modificacion </td>
</tr>
<tr>
<td width="191" bordercolor="#E0DFE3" bgcolor="#00CCFF">Producto</td>
<td width="219"><label>
<input name="Producto" type="text" id="Producto" value=" <?php echo $filaProd['Categoria']; ?>"/>
</label></td>
<
</tr>
<tr>
<td bordercolor="#E0DFE3" bgcolor="#00CCFF">Medida</td>
<td><input name="Medida" type="text" id="Medida" value="<?php echo $filaProd['Medida']; ?>" /></td>

</tr>
<tr>
<td bgcolor="#00CCFF">Descripcion</td>
<td><input name="Descripcion" type="text" id="Descripcion" value="<?php echo $filaProd['Descripcion']; ?>" /></td>
</tr>
<tr>
<td bgcolor="#00CCFF">Precio</td>
<td><input name="Precio" type="text" id="Precio" value="<?php echo $filaProd['Precio']; ?>" /></td>

</tr>
<tr>
<td bgcolor="#00CCFF">Stock</td>
<td><input name="Stock" type="text" id="Stock" value="<?php echo $filaProd['Stock']; ?>" /></td>

</tr>
</table>

<p>&nbsp;</p>
<table width="70%" border="3" align="center" cellpadding="0" cellspacing="0" bordercolor="#0066FF">
<tr>
<td width="50%"><div align="right">
<input name="Submit" type="submit" class="Boton1" value="Confirmar" />
</div></td>
<td width="50%"><input name="button" type="button" class="Boton1" onclick = "window.close()" value="Cancelar" /></td>
</tr>
</table>
<p>&nbsp;</p>
</form>
</body>
</html>