Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/05/2006, 16:50
Avatar de xknown
xknown
 
Fecha de Ingreso: diciembre-2004
Ubicación: Cusco - Perú
Mensajes: 2.248
Antigüedad: 19 años, 4 meses
Puntos: 7
Hazlo a través de código cliente (como muestras en tu primer mensaje), te sugiero que revises algún tutorial de javascript.
Código HTML:
 -- foo.html
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>foo</title>
<script type="text/javascript">
function change_value()
{
    frame = window.frames['frame'];
    frame.document.getElementById('item').value="text";
}
</script>
</head>
<body>
<p><input type="button" onclick="change_value()" value="Change!" /></p>
<iframe id="frame" name="frame" src="bar.html"></iframe>

</body>
</html>

-- bar.html
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>bar</title>
</head>
<body>
<p><input type="text" id="item" /></p>
</body>
</html> 
Saludos
__________________
Alex Concha
Buayacorp - Programación y Diseño