Bug Tracker

Opened 14 years ago

Closed 14 years ago

#4619 closed bug (invalid)

submit(fn) cannot work in jquery 1.3.2

Reported by: jamesfancy Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


I am using jquery 1.3.2. I write code to find a form and submit with a function. It cannot work. Please watch attached files. test.html is the main page, it should alert and submit automaticlly while the page is ready. But it does not work.

Attachments (1)

test.zip (432 bytes) - added by jamesfancy 14 years ago.
test.html is main page.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by jamesfancy

Attachment: test.zip added

test.html is main page.

comment:1 Changed 14 years ago by dmethvin

Resolution: invalid
Status: newclosed

When .submit() is called with a function argument, it merely sets the handler that will be called when the form is submitted by other means. If you want to submit a form, either use .trigger("submit") or .submit() with no argument.

Note: See TracTickets for help on using tickets.