Hello guys,
I'm trying to write function that will display some text and image by changing innerHTML of div element.
The function is:
When I run this function, I see message and broken image in FireFox. I checked code and image URL like ten times, it should work, but it doesn't.function showWaitImage(){
document.getElementById('image').innerHTML = "<span class='style'>Uploading photo, please wait...<img src='http://www.example.com/img/wait.gif' id='waitImage' width='32' heght='32' /></span>";
}
How can I fix this?






Bookmarks