Re: JavaScript Evaluation on AJAX loaded page
Posted By:
Anonymous
Posted On:
Tuesday, June 6, 2006 07:21 AM
When You are loading data using Ajax if the loaded data has any inline Scripts they does'nt get executed.This is because we are actually not loading the page , we just do a innerHTML and put the response as a string.
So there is nothing wrong with your code.It is only that if you want that function to get called then you have to put that function call in the callback method of the XMLHttpRequest.