I'm loading a page dynamically using XMLHttpRequest object. The page that I'm downloading uses an external JavaScript file and after loading content, it calls for a function in that external JavaScript file. When I click on a link, that page will be loaded dynamically using XMLHttpRequest object. But What happening is, that method is not getting called (I placed an alert in that external JavaScript function for debugging purpose). At the same time, if I use that responseText and create a new file with it, then that page is working perfectly and it is calling that JavaScript function and I'm getting alert. What is the problem and what is the solution for it? Help me.
Thanks in Advance.



Reply With Quote

Bookmarks