Skip to main content

Bug Tracker

Side navigation

#7622 closed bug (worksforme)

Opened November 24, 2010 04:18PM UTC

Closed November 24, 2010 04:59PM UTC

Last modified November 25, 2010 12:21AM UTC

FF 4b7: $(form).submit() does not work

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

$('#id').submit() does not work with Firefox 4.0 beta 7, if the submit-handler was assigned later than $.ready()

Here is a testcase:

http://jsfiddle.net/3vkpk/7/

Thanks

Markus

Attachments (0)
Change History (9)

Changed November 24, 2010 04:59PM UTC by jitter comment:1

resolution: → worksforme
status: newclosed

Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a testcase! I tried your test case in FF 4.0 beta 7 on WinXP and it worked as expected.

If you feel this ticket was closed incorrectly and the problem still persists for you, feel free to report back with a reproducible test case and request the reopening of this issue.

Changed November 24, 2010 05:02PM UTC by jitter comment:2

description: $('#id').submit() does not work with Firefox 4.0 beta 7, if the submit-handler was assigned later than $.ready() \ \ Here is a testcase: \ jsfiddle.net/3vkpk/7/ \ \ Thanks \ Markus$('#id').submit() does not work with Firefox 4.0 beta 7, if the submit-handler was assigned later than $.ready() \ \ Here is a testcase: \ http://jsfiddle.net/3vkpk/7/ \ \ Thanks \ Markus

Changed November 24, 2010 05:12PM UTC by anonymous comment:3

No, it does not work.

You will fire the submit, not the "alert()"

Changed November 24, 2010 05:40PM UTC by rwaldron comment:4

worksforme +1

Changed November 24, 2010 07:59PM UTC by jitter comment:5

For me it shows the alert but doesn't execute the actual submit as preventDefault gets called and is working too.

Please provide information on what platform you are on? And are you sure about the browser version being FF 4.0b7? Can you copy-paste the last two lines of information from "Help -> About Firefox".

Did you try with a clean install of FF?

Changed November 24, 2010 09:28PM UTC by anonymous comment:6

Hello,

I got two complains, that submiting won't work with FF 4b7. After an update I could see the same issue. This testcase works in any browser but FF 4b7:

http://doppelbauer.name/submit.php

Here is a screenshot of Help->About:

http://doppelbauer.name/submit.jpg

Markus

Changed November 24, 2010 09:35PM UTC by anonymous comment:7

Stop. Sorry, my fault. I must re-write the testcase.

Changed November 24, 2010 09:53PM UTC by jitter comment:8

Replying to [comment:7 anonymous]:

Stop. Sorry, my fault. I must re-write the testcase.

Did you already? The test site on http://doppelbauer.name/submit.php works for me in FF 4b7. alert is shown but form not submitted. (Please add information on the platform you are on WinXP/Vista/7, Linux(Ubuntu,etc.)

Changed November 25, 2010 12:21AM UTC by anonymous comment:9

Just a note -- FF4b7 is beta software and b8 is just around the corner.