I have an ajax script that returns a lot of data including an image tag
Now when I want to place the data into a div tag
var response = transport.responseText || "error while retrieving tab "+file;
document.getElementById('tabContent').innerHTML = response;
innerHTML replaces & with &
needless to say my image source link won't work of course. How can I stop innerHTML from replacing &?