title: Jquery ajaxForm() doesn't fire 'success' although it works successfully
body: <p>Today I was trying to send files via Ajax request using the JQuery AjaxForm plugin. However, it doesn't fire the success function as it uploads the file without any javascript run time or compile time error.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;table id="haberresmiekle"&gt;
  &lt;form action="action.asp?kmt=resimyukle" method="post" enctype="multipart/form-data" id="haberresmiekleform"&gt;
  &lt;tr&gt;
      &lt;td&gt;&lt;input type="file" name="file"&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;&lt;input id="b" type="submit" value="Gonder"&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/form&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>&lt;script&gt; 
  $("#haberresmiekle").dialog({autoOpen:false,title:"Resim Yukle"});
          var options={
                  target:"#haberresmiekle",
                  success:function(){alert('x');$("#haberresimekle").dialog('close');}
              };
          $("#haberresmiekleform").ajaxForm(options); 
  $("#b").button();
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Thanks for any help</strong></p>
  
  <p><strong>Note: It has been resolved.</strong></p>