Posted By

juno on 03/01/07


Tagged

js img


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

vali29
wirenaught


list all img in the page


 / Published in: JavaScript
 

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

  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!')}

Report this snippet  

You need to login to post a comment.