title: Uploadify Error in IE8
body: <p>I can't get uploadify (jQuery plugin) to work in IE8, it works fine in all other browsers.</p>
  
  <p>When I go to upload the file I'm getting this error:</p>
  
  <p>Object doesn't support this property or method</p>
  
  <p>And it's on this line in uploadify.js:</p>
  
  <pre><code>document.getElementById(jQuery(this).attr('id') + 'Uploader').startFileUpload(ID, false);
  </code></pre>
  
  <p>I can't figure it out.</p>
  
  <p>The JavaScript looks like this:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
  var scriptData;
  
  $.get('/lib/upload_params.php', {'key': "files/&lt;?=random?&gt;/"},
      function(data) {
          scriptData = {
              'AWSAccessKeyId': data.AWSAccessKeyId,
              'key': encodeURIComponent(data.key),
              'acl': "private",
              'policy': encodeURIComponent(data.policy),
              'signature': encodeURIComponent(encodeURIComponent(data.signature)),
              'success_action_status': "201",
              'folder':'',
              'Filename':''
          };
          //    $('#file').uploadifySettings('scriptData',scriptData);
          start_uploadify();
                },
      "json" ); 
  
  function start_uploadify() {
      $('#file').uploadify({
          'uploader'      : 'http://domain.com/lib/uploadify/uploadify.swf',
          'script'        : 'http://cdn.domain.com',
          'multi'         : false,
          'buttonImg'     : 'http://domain.com/images/select_button.png',
          'rollover'      : true,
          'width'         : '131',
          'height'        : '40',
          'sizeLimit'     : '1073741824',
          'auto'          : false,
          'method'        : 'post',
          'scriptData'    : scriptData,  
          'scriptAccess'  : 'always',
          'wmode'         : 'transparent',
          onSelect        : function(event, queueID, fileObj) {
                              $('#send_options').show().addClass('on');
                              $('#fileUploader').css('visibility', 'hidden');
                              $('#fileQueue').css({'margin-top' : '-40px', 'visibility' : 'visible'});
                            },
          onComplete      : function(event, queueID, fileObj, response, data) {
                              //alert(fileObj.name);
                              $('#upload_progess').html("&lt;strong&gt;Upload complete&lt;/strong&gt;&lt;br /&gt;We are now processing your file...");
                              $('#fn').val(fileObj.name);
                              $('#fs').val(fileObj.size);
                              $('#form_1').submit();
                             },  
          'onError'       : function(e, queueID, fileObj, errorObj){
                              //alert( dump(scriptData) );
                              if(errorObj.info == 201){
                                //$('#file'+queueID).remove();
                              } else {
                                alert(errorObj.type+' error:'+errorObj.info+'. Sorry! (try again later)');
                              }
                            },
          'folder'        : '',
          'fileDataName'  : 'file'
      });
  }
  
  $('#send').live('click', function() {
      $('#file').uploadifyUpload();
      $('#send_options').hide();
      $('#upload_progress').show();
  });
  
  $('#change_file').live('click', function() {
      $x = $('#send_options');
      $y = $('#fileUploader');
      $z = $('#fileQueue');
  
      if ($x.hasClass('on')) {
          $x.removeClass('on').hide();
          $y.css('visibility', 'visible');
          $z.css('visibility', 'hidden');
      } else {
          $x.addClass('on');  
      }
  });
  
  $('#method_2').delegate('', 'click', function() {
      $('.wrap_to').show();                                             
  });
  
  $('#method_1').delegate('', 'click', function() {
      $('.wrap_to').hide();                                         
  });
  </code></pre>
  
  <p>});
  </p>