list all img in the page


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. javascript:Ai7Mg6P='';for%20(i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){Ai7Mg6P+='<img%20src='+document.images[i7M1bQz].src+'><br>'};if(Ai7Mg6P!=''){document.write('<center>'+Ai7Mg6P+'</center>');void(document.close())}else{alert('No%20images!')}

URL: http://www.ninekb.com/article.asp?id=71

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.