Hi!

I have a func to read a XML file to load a image.
Well. At the first time it works fine, but, when I reload the page, the
script don't  load the image, and don't return a error.

Here the code:

document.myImage.onload = function(){

$("#img").fadeIn();

$("#ajax-loader").css("display","block") //image gif to make a loader

}

document.myImage.onerror = function(){

alert("erro");

}
If someone can help me, please!!!!

Thanks

Reply via email to