con firefox funziona con ie7 quando clicco su qualsiasi bottone creato non succede niente. neanche si generano errori.Codice PHP:
var el=document.getElementById("img0");
var bottone1=document.createElement("button");
bottone1.setAttribute("type","button");
bottone1.setAttribute("onclick","scaricaImmagini('alta')");
testo=document.createTextNode("Alta risoluzione");
bottone1.appendChild(testo);
var bottone2=document.createElement("button");
bottone1.setAttribute("type","button");
bottone2.setAttribute("onclick","scaricaImmagini('bassa')");
testo=document.createTextNode("Bassa risoluzione");
bottone2.appendChild(testo);
el.appendChild(bottone1);
el.appendChild(bottone2);
document.body.appendChild(el);
come risolvere?
grazie


Rispondi quotando