title: Click event for attach files link is not being bound in Firefox
body: <p>So far uploading works in Chrome on Linux, OSX and windows, and IE on Windows, but fails in Firefox for all OS's.</p>
  
  <p>The issue seems to be that no event is being bound to the attach file link which can be seen when using Allan Jardine's Visual Event plugin.</p>
  
  <p>However in the online demo <a href="http://plupload.com/example_custom.php" rel="nofollow">http://plupload.com/example_custom.php</a>, an event bound to the click event can be seen using the plugin.</p>
  
  <p>Any idea why firefox is failing in this case?</p>
  
  <pre><code>&lt;form action="/notes" class="new_note" data-remote="true" id="new_note" method="post"&gt;
    &lt;h3&gt;Create Note&lt;/h3&gt;
    &lt;textarea cols="40" id="note_content" name="note[content]" rows="1"&gt;&lt;/textarea&gt;
    &lt;table&gt;
      &lt;tr&gt;
        &lt;td id='attachments'&gt;
          &lt;a href="#" id="attach-files" style="display:none"&gt;Add Attachment&lt;/a&gt;
          &lt;a href="#" id="upload-files" style="display:none"&gt;Upload Files&lt;/a&gt;
        &lt;/td&gt;
        &lt;td id='button'&gt;
          &lt;input class="button button-green" disabled="disabled" id="note_submit" name="commit" type="submit" value="Post Note" /&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>javascript</p>
  
  <pre><code>bind_plupload: function(url) {
    // plupload setup
    var uploader = new plupload.Uploader({
      runtimes : 'html5,flash,silverlight',
      browse_button : 'attach-files',
      container : 'attachments',
      max_file_size : '2mb',
      url : url,
      multipart: true,   
      flash_swf_url : '/javascripts/plugins/plupload/plupload.flash.swf',
      silverlight_xap_url : '/javascripts/plugins/plupload/plupload.silverlight.xap',
      filters : [
        {title : "Images", extensions : "jpg,gif,png"},
        {title : "Documents", extensions : "pdf,doc,docx,odt,txt,xls"}
      ]
    });
  
    // push files to server after file is selected
    if ($.browser.msie) {
      $("#upload-files").show().click(function() {
        uploader.start();
        return false;
      });
    }
    else {
      $("#upload-files").remove()
      $(":file").live("change", function(e) {
        uploader.start();
      });
    }
  
    uploader.bind('FilesAdded', function(up, files) {
      $.each(files, function(i, file) {
        var msg = sprintf("&lt;div id=\"%s\"&gt;%s &lt;b&gt;&lt;/b&gt;&lt;/div&gt;", file.id, file.name);
        $('#attachments').append(msg);
      });
      up.refresh(); // Reposition Flash/Silverlight
    });
  
    uploader.bind('UploadProgress', function(up, file) {
      $('#' + file.id + " b").html(file.percent + "%");
    });
  
    uploader.bind('Error', function(up, err) {
      var msg = sprintf("&lt;div&gt;%s%s&lt;/div&gt;", err.message, (err.file ? " "+err.file.name : ""))
      $('#attachments').append(msg);
      up.refresh(); // Reposition Flash/Silverlight
    });
  
    uploader.bind('FileUploaded', function(up, file) {
      $('#' + file.id + " b").html("100%");
    });
  
    uploader.init();
  } // bind plupload
  </code></pre>