From: Ahmed A. <asa...@ya...> - 2009-02-08 22:27:24
|
Dear Sling, I am afraid you need to provide a minimal test case that shows the error, otherwise it will be unlikey that someone else would encounter it. Yours, Ahmed ________________________________ From: "sli...@re..." <sli...@re...> To: htm...@li... Sent: Monday, February 9, 2009 9:51:24 AM Subject: Re: [Htmlunit-user] (no subject) Hi Thanks for responding so quickly. I am using HtmlUnit 2.4 and HtmlUnit-core-js-2.4. When I check the access logs the second url never even gets queried, it seems to fail somewhere in the .send(param) call. The ajax function gets called via a second function similar to your test function but instead of using an onclick it is called as from the <script> tags in the page header. e.g. <head> <script type="text/javascript"> ....ajax and test function here test(); </script> To shed some light on why the page does this in case it helps, the ajax query triggers a server based data retrieval and rendering process that can potentially take some time. To provide a friendlier user experience a "Please wait" page is loaded with the ajax request returning when the rendering is complete and alerting the user they can now download the result. Thanks |