javascript - How to draw image object to canvas when the object is from a jQuery selection? -


in jquery, select statement bunch of img tags. how object of each 1 of can use drawimage function canvases? works document element id.

thanks.

you can object writing $(this)

for example:

   $("img").each(function() {     console.log($(this).prop("src")); }); 

in side loop on bunch of img tags .


Comments