var url = 'http://bolsaphp.sukiweb.net/grafica-externa.php?ticker=ACX.MC'; function write_iframe() { var span = document.getElementById("bolsaphp"); span.innerHTML=''; } document.write('');