holobyted
07-09-2005, 06:28 PM
Hey all. I'm trying to use the typical snippet for writing to a div/span, which works:
function cambiar(texto){
if (document.all || document.getElementById) {
votar = document.getElementById ? document.getElementById("cargando") : document.all.cargando;
votar.innerHTML=texto;
}
}
However, when I try to use it to load a new script (ie, google ads) into the span, the new script never gets loaded.
Would appreciate some input on the matter.
Thanks!
(URL: http://www.purrun.com/test/test.html - click on the arrows.)
function cambiar(texto){
if (document.all || document.getElementById) {
votar = document.getElementById ? document.getElementById("cargando") : document.all.cargando;
votar.innerHTML=texto;
}
}
However, when I try to use it to load a new script (ie, google ads) into the span, the new script never gets loaded.
Would appreciate some input on the matter.
Thanks!
(URL: http://www.purrun.com/test/test.html - click on the arrows.)