function changeImg(){ var getImg= document.getElementById('idg').innerHTML; document.getElementById('idg').innerHTML = '<img src="http://ecx.images-amazon.com/images/I/' + getImg + '">'; } setTimeout("changeImg()",100)
Tags:
Tutorial Javascript
function changeImg(){ var getImg= document.getElementById('idg').innerHTML; document.getElementById('idg').innerHTML = '<img src="http://ecx.images-amazon.com/images/I/' + getImg + '">'; } setTimeout("changeImg()",100)