I am loading one HTML page content in a div tag, using XMLHTTP. But thsi content is having the Javascript function and one submit button calling this Javascript. Now what happens, when we load the content in the div, and then click on this Button, it does nto recognise the Javascript function and says 'Object Undefined' . This means the XMLHTTP loaded the content as notmal text or and not as HTML or JS, hence that function is not found by browser. Please suggest if you are having any solutions.
I did same thing, but that javascript function works fine in my case.
I have another question about the xmlhttp responseText update. I retrieve two xmlhttp objects simultaneously.
I try to keep one xmlhttp.responseText as static
InnerHtml and still updating the other(Using setTimeout() ..). How to achieve this?
Regards,
Tien-Chih Wang
---
Meta Job Search Engine
http://www.onsofts.com/deepJobSearch.jsp