Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/07/2008, 05:17
Avatar de ZiTAL
ZiTAL
 
Fecha de Ingreso: marzo-2004
Ubicación: Bermio (Bizkaia)
Mensajes: 1.545
Antigüedad: 20 años, 11 meses
Puntos: 62
De acuerdo Respuesta: ¿Como vaciar un iframe?

si tienes el iframe en un div por ejemplo:
Código HTML:
<div id="aaa">
<iframe ...></iframe>
</div> 
aqui el js
Código PHP:
function removeAllChilds(a)
 {
 
a=document.getElementsById(a);
 while(
a.hasChildNodes())
    
a.removeChild(a.firstChild);
 } 
llamada al js:
Código PHP:
removeAllChilds('aaa'); 
__________________
http://zital.no-ip.org
____________________

Euskerie ahuen eta bijotzan