<div>Hi!</div>
<div> </div>
<div>I have a func to read a XML file to load a image.</div>
<div>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.</div>
<div> </div>
<div>Here the code:</div><font size="1">
document.myImage.onload = function(){
$("#img").fadeIn();
$("#ajax-loader").css("display","block") //image gif to make a loader
}
document.myImage.onerror = function(){
alert("erro");
}
</font>
<div>If someone can help me, please!!!!</div>
<div> </div>
<div>Thanks</div>