Closed Bug 302019 Opened 19 years ago Closed 15 years ago

javascript won't submit form after XMLHttpRequest call

Categories

(Firefox :: General, defect)

defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mikaels, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

After a particular xmlhttp call noen of the form submits will work. I have 
debugged the code with the javascript debugger and it actually executes the 
form.submit() line, but nothing happens in the browser.

It happens on Firefox on windows/mac/linux and on Mozilla 1.8b2, so it seems to 
be an engine error somewhere.

Reproducible: Always

Steps to Reproduce:
1. Click the "test" link
2. Click the "->" button for next page
3. Click the "Analyser" menu item at the top

Actual Results:  
Nothing. The form is not being submitted.

Expected Results:  
The form should have been submitted. If you click the "Analyser" menu item 
before you click "->" it submits just fine.

All other xml http calls (like clicking in the tree on the left) works just 
fine, but all theForm.submit() calls fail.
I experience similar problem: when i first submit form and next make XMLHttpRequest call, the form never gets submitted. IT somehow blocks. Tried everything, but nothing works. Dit not find any workarround so for me its a blocker. 
Please attach a minimal testcase, the page linked from the URL field gives a server error.
Also is this a problem with a recent build (trunk or at least the 1.5 release)?
Summary: javascript won't submit form after xml http call → javascript won't submit form after XMLHttpRequest call
The page now works. Not sure how to make a small example as it's a .Net application.

But, click "Test" in the left menu, then -> and try one of the top links, and the form won't submit.

I did manage a workaround by placing another form on the page, copying all input fields from the default form to the new, and then submit the new form instead. It seems the original form get's locked or something.

It's still an error with 1.5, and have been with all previous releases. Tried it on 1.5.0.2 just now.
testcase URL no  longer works
=> incomplete
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.