title: ajaxsubmit target form input field
body: <p>I'm trying to figure out if ajaxSubmit is only able to target #div's or also other objects.</p>
  
  <p>I have a script which uploads an image with ajax, and afer uploading the url of the image will be shown in a #div called Output. However, I want this url visible in an input field, not in a div.</p>
  
  <pre><code>&lt;script&gt; 
      $(document).ready(function() { 
          $('#UploadForm').on('submit', function(e) {
              e.preventDefault();
              $('#SubmitButton').attr('disabled', ''); // disable upload button
              //show uploading message
              $("#output").html('&lt;div style="padding:10px"&gt;&lt;img src="images/ajax-loader.gif" alt="Please Wait"/&gt; &lt;span&gt;Uploading...&lt;/span&gt;&lt;/div&gt;');
              $(this).ajaxSubmit({
                  target: '#output',
                  success:  afterSuccess //call function after success
              });
          });
      }); 
  
      function afterSuccess()  { 
          $('#UploadForm').resetForm();  // reset form
          $('#SubmitButton').removeAttr('disabled'); //enable submit button
  
      } 
  &lt;/script&gt; 
  </code></pre>
  
  <p>So is it possible to target the name of the input field?</p>