|
||||||
| JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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? |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTTP pipelining in Java | cs02as1 | Java Help | 2 | 08-14-2007 01:20 PM |
| how to refresh a page? | :-[yc]-: | Java Help | 2 | 05-30-2007 07:47 AM |
| Global variables (SERVER) | Jaan | PHP Tutorials | 0 | 03-22-2007 09:43 PM |
| Regarding Request Object | reachpradeep | Java Help | 0 | 03-03-2007 09:46 AM |
| Question: Link to parts of a page | skilletsteve | HTML Programming | 3 | 08-29-2006 03:15 PM |
| Xav | ........ | 1322.18 |
| MeTh0Dz|Reb0rn | ........ | 1053.7 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 877.37 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 830.24 |
| Brandon W | ........ | 735.07 |
| chili5 | ........ | 309.39 |
| Steve.L | ........ | 239.84 |
| dcs | ........ | 216.02 |
Goal: 100,000 Posts
Complete: 82%