Skip to main content

Bug Tracker

Side navigation

#1023 closed bug (worksforme)

Opened March 05, 2007 07:48PM UTC

Closed March 25, 2007 11:50PM UTC

Last modified March 15, 2012 05:50PM UTC

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

Attachments (0)
Change History (3)

Changed March 05, 2007 07:51PM UTC by arikon comment:1

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

Changed March 07, 2007 10:03PM UTC by malsup comment:2

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" />

Changed March 25, 2007 11:50PM UTC by john comment:3

need: → Review
resolution: → worksforme
status: newclosed

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