|
Hello,
I am having problems uploading images asynchronously into divs.
I have created a function to load the image into a div:
<script>
function load_content(img_name)
{
document.getElementById('content').innerHTML = "<img src='images/"+img_name+"' alt=''>";
}
</script>
It works fine in all browsers except in internet explorer. It loads the image partially or doesnt loaded at all.
You can see a sample of the problem at: http://www.lestoree.com/dev/test/index_test.html
if you open it in FF you will see how I want it to work. Open it in ie6 to see the weird behavior.
Any ideas??
Thanks a lot
|
|
|
Solution:
add return false to the escape load content funtion once it run.
|
|
|
|
|
|
|
// |