I have two page
one is[B] main.html
other is [B]loaded.html
In the loaded.html there is a javascript gallery. And a function like
[CODE]window.addEvent(‘[B]domready[/B]’,function()….
I am loading the loaded.html page from main.html with XMLHttpRequest and put to a div tag like:
[CODE]document.getElementById(“item”).innerHTML=result;
loaded.html is working if a open it separate but it is not working if i load it with XMLHttpRequest.
I think there is a problem with javascript functions, while loading.
Again: loaded.html has a function
[CODE]window.addEvent(‘domready’,function() …..
This will work even if i load with XMLHttpRequest to a div.