.net - Save Iframe content using javascript -


i need save content of iframe contains image , other information image using javascript.

any method frame.print() automaticaly open print window.

thanks in advance.

if parent document , iframe's document on same domain, can :

var idoc = document.getelementsbytagname("iframe")[0].contentwindow.document; window.open(idoc.getelementbyid("idofimageintheiframe").src, "download_win"); 

otherwise(not on same domain), security exception thrown.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -