I have the code below and what I need to do is load the image from the href into a div via ajax... Any help appreciated. I believe that load() can\'t load images like this?<
If you want to change image dynamically use dom What you need to do is change the img src attribute
say img_div is your parent element then
var im = document.createElement('img'); im.src = 'image_path1'; img_div.appendChild(im);
on some event if you want to change this image
im.src = 'image_path2'