Hi all,
I'm quiete new to using ajax and I face one problem:
I have a form and I want to call a script when the submit-button is pressed. Therefore I added the onclick() function as onsubmit() didn't work. In the function I call, I want to do a get-request using the XMLHttpReques-object.
The problem is that 90pct of the time I press the submit-button there takes no XMLHttpReques place. When I add a delay after the request line, for instance just an alert-box, the request does take place?!
Does somebody know how to solve this problem?
http request before page submit
Started by
Guest_jeroenp_*
, Sep 11 2006 05:56 AM
1 reply to this topic


Sign In
Create Account

Guest_jeroenp_*
Back to top










