title: Displaying a progressbar or error message in a fancybox
body: <p>Here is what I have in my member.php for my fancybox:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function() 
      {
              $("a#uploadpage").fancybox({
                  'titleShow'     : false
              });
      });
  &lt;/script&gt;
  .
  .
  .
  &lt;a id="uploadpage" href='uploadpage.php'&gt;Change Image&lt;/a&gt; &lt;br/&gt;
  </code></pre>
  
  <p>This works perfectly, and by perfectly I mean it opens the fancybox containing the php code in uploadpage.php. Once the user pushes the submit button in uploadpage.php to upload there image I want it to either display an error message(invalid file type or file size too big), or a progressbar if the image is a valid file type and below 1MB. How do I do this within the <strong>SAME FANCYBOX</strong>? (I have the code for the error messages and progressbar already so I just need to know how to either refresh the fancybox or how to use javascript to accomplish this.)</p>
  
  <p>Thanks a lot, I greatly appreciate it.
  -Matt</p>