Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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
Change History
comment:1 Changed 4 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


test.html is main page.