Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 11 years ago

#1023 closed bug (worksforme)

IE6: $(form).submit() doesn't trigger attached events by $(form).ajaxForm()

Reported by: arikon Owned by:
Priority: critical Milestone: 1.1.3
Component: ajax Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:


I'm using this to submit form via ajax request:


I have also another two events attached to form submit event:

$('#news-form').submit(function() {
$('#news-form').submit(function() {

I have buttons in my app with attached events, where I call:


But, when I press this buttons, there is no ajax request performed and no other events triggered

Change History (3)

comment:1 in reply to:  description Changed 16 years ago by arikon

Some addition. Thats all works fine in FF, but doesn't work in IE6.

comment:2 Changed 16 years ago by malsup

I had no problems getting this scenario working in IE6. I used the following code:

<script src="jquery-1.1.2.js"></script>
<script src="jquery.form.js"></script>
<script type="text/javascript">
$(function() {
    $('form').ajaxForm(function(r) {
    $('form').submit(function() {
    $('form').submit(function() {
    $('button').click(function() {
    <form action="march7.txt">
        <input type="text" name="name" />
        <input type="submit" />

comment:3 Changed 16 years ago by john

need: Review
Resolution: worksforme
Status: newclosed

It appears as if Mike has confirmed that this works; marking as "worksforme".

Note: See TracTickets for help on using tickets.