Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/08/2006, 06:37
Avatar de SiR.CARAJ0DIDA
SiR.CARAJ0DIDA
 
Fecha de Ingreso: junio-2004
Ubicación: Acá
Mensajes: 1.166
Antigüedad: 19 años, 10 meses
Puntos: 4
perdon pero solo IE puede adivinar que "pepe" es una referencia al iframe, si queres hacer las cosas bien es asi:

Código:
function f() {
var ifrm = document.getElementById('pepe');
var loc = (ifrm.location) ? ifrm.location : ifrm.contentWindow.location;
}
<iframe id="pepe" src="tupagina.html"></iframe>
<input type="button" onclick="f()" />
__________________
Internet Explorer SuckS
Download FireFox