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: |
Description
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)
Change History (2)
Changed 14 years ago by
comment:1 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
test.html is main page.