[Web2.0] [JS] simulare lo sleep.

Simone Fumagalli simone a tomato.it
Gio 28 Dic 2006 11:02:37 CET


Se metti sleep subito dopo "mostra" ?

function mostra() {
	sleep(1);
	tmp = document.createElement('input');
         tmp.setAttribute('type','text');
         tmp2= document.getElementById('miodiv');
         tmp2.appendChild(tmp);
}

Simone


Maggiori informazioni sulla lista Web2.0