Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6089313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:05:08+00:00 2026-05-23T12:05:08+00:00

I can’t get uploadify (jQuery plugin) to work in IE8, it works fine in

  • 0

I can’t get uploadify (jQuery plugin) to work in IE8, it works fine in all other browsers.

When I go to upload the file I’m getting this error:

Object doesn’t support this property or method

And it’s on this line in uploadify.js:

document.getElementById(jQuery(this).attr('id') + 'Uploader').startFileUpload(ID, false);

I can’t figure it out.

The JavaScript looks like this:

<script type="text/javascript">
$(document).ready(function() {
var scriptData;

$.get('/lib/upload_params.php', {'key': "files/<?=random?>/"},
    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("<strong>Upload complete</strong><br />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();                                         
});

});

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:05:09+00:00Added an answer on May 23, 2026 at 12:05 pm

    For some reason IE doesn’t like the var name to be the same as the jQuery object name, example:

    var field1 = $(‘#field1’).val();

    IE doesn’t like that, so I changed var field1 to var field1a and it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I change the field public virtual ClassOne ClassOne { get; set; } to
Can any one tell, how to get the result of LINQ query contains group
I have a jquery bug and I've been looking for hours now, I can't
Can i get the source code for a WAMP stack installer somewhere? Any help
Can MOSS integrate and get user profiles from multiple Active Directory and/or LDAP stores?
Can anyone tell me what i am doing wrong? I am trying to get
Can anyone tell me how to open Auto CAD file in HTML5? Is this
Can any one help me in sorting this out in sed/awk/perl Input file Start
Can someone access the database files and/or other files of my app stores in
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.