Bug Tracker

Modify

Ticket #4619 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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

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

Change History

Changed 4 years ago by jamesfancy

test.html is main page.

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.