no entiendo muy bien a que llamás "proceso", pero más o menos
asumiendo que tu marco superior se llama arriba y tu marco inferior abajo
en arriba.html
Código HTML:
Ver original<!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"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript"> function valorAbajo(){
var codigo = document.getElementById('c').value;
parent.abajo.alerta(codigo);
document.getElementById('c').value ='';
}
<input type="text" id="c" /> <input type="button" onclick="valorAbajo()" value="procesar"/>
y en abajo.html
Código HTML:
Ver original<!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"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript"> function alerta(cod){
alert(cod);
}
abajo
Es decir, la función de abajo recibe valores y es llamada desde la función definida en el marco superior con
Saludos