Bug with submit() event
<p>I have this jQuery simple code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
    &lt;!--
    jQuery(function(){
        jQuery('#old_thumb').click(function(){
            $(this).val($(this).attr('title'));
            $('#sf').val('2');
            $('#add_new_event').submit();
        });
    });
    //--&gt;
&lt;/script&gt;
</code></pre>

<p>For some reason the <code>submit()</code> is not working (my form doesn't submit after I click the old_thumb button. Can any one help me?</p>

<p>here is part of the html (its very long and its included php so I will write only the start and those fields which I update )..</p>

<pre><code>&lt;form action="http://dominicbesner.com/wp-admin/admin.php?page=ManageMedia/MM-admin.php&amp;action=Edit2" method="post"  name="add_new_event" id="add_new_event" enctype="multipart/form-data"&gt;
    &lt;input type="hidden" name="sf" id="sf" value="1" /&gt;
    &lt;input type="button" name="old_thumb" id="old_thumb" value="Edit" title="&lt;?php echo $file;?&gt;'" /&gt;

    &lt;input type="submit" name="submit" id="submit" value="Save Medias" class="button-primary" /&gt;
    &lt;input type="reset" name="reset" value="Reset Form" class="button" /&gt;&lt;/td&gt;
&lt;/form&gt;
</code></pre>
