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

  • SEARCH
  • Home
  • 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 9007761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:46:35+00:00 2026-06-16T01:46:35+00:00

I am trying to trigger the plupload.start() event from a jQuery modal dialog button,

  • 0

I am trying to trigger the plupload.start() event from a jQuery modal dialog button, but it seems like the plupload object is not recognized, thus giving me the following error:

TypeError: Object #<Object> has no method 'start'

I initialized the plupload object on the dialog’s opening event, I can upload files correctly using the original button, but I prefer sending the files and the form in a standard layout (instead having two “upload” buttons, the one for the form and the one for the plupload plugin).

I don’t want to trigger the upload right on the FileAdded event either. Anyone has an idea on how to proceed?

Initialization code:

$("#uploader").plupload({
                // General settings
                runtimes : 'flash,html5,html4',
                url : 'pagesPub/update_pub.php',
                max_file_size : '25mb',
                chunk_size : '25mb',
                unique_names : true,

                // Specify what files to browse for
                filters : [
                    {title : "Images", extensions : "jpg,jpeg,gif,png"}
                ],

                // Flash settings
                flash_swf_url : 'js/moxie/plupload.flash.swf',

                // Silverlight settings
                silverlight_xap_url : 'js/moxie/plupload.silverlight.xap',

                FilesAdded : function (up, files) {
                    var fileCount = up.files.length,
                    i = 0,
                    ids = $.map(up.files, function (item) { return item.id; });

                    for (i = 0; i < fileCount; i++) {
                        uploader.removeFile(uploader.getFile(ids[i]));
                    }

                    // Do something with file details
                }

            });
  • 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-06-16T01:46:36+00:00Added an answer on June 16, 2026 at 1:46 am

    plupload.start() is the wrong way to call the method (since it’s a jQuery object).

    You must call it this way:

    $('#uploader').plupload('start');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to trigger click event on hyperlink with jQuery like the way below.
I am trying to trigger the FB subscribe event, but the alert does not
I'm trying to trigger a button's click event when a user pushes Enter from
I'm simply trying to trigger a new activity from a button click but every
I'm not subclassing the control. Trying to trigger the event via Control.Size = Control.Size
I'm trying to trigger a jQuery UI dialog with a link. Here's the link:
There's a page that I'm trying to trigger a jQuery event for when a
I'm trying to trigger an event based on audio input but I have no
I'm trying to trigger the jQuery Autocomplete event externally. The problem is I'm using
I am having trouble trying to trigger a submit button in firefox 3.6 but

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.