capdroid.wordpress.com
HTML – Download image through AJAX and display it
AJAX was initially designed to be used with text data (JSON/HTML/XML) and that is why this requirement of downloading images using AJAX were never fulfilled. But with HTML5, XHR2 has been introduce…