Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dholloran

    (@dholloran)

    I don’t really think there is an easy way to go about it, I believe it is setup on window.load or something so if it is not in the Dom at that point then your out of luck. It’s a little ha ky but you may be able to take what’s in this file https://github.com/DHolloran/WPMultiFileUploader/blob/master/assets/js/fineuploader-execute.js and call it after you’ve added the element to the Dom from your AJAX request.

    Thanks,
    Dan

    Thread Starter heinsman182

    (@heinsman182)

    Thanks so much for the quick reply! That points me in the right direction. I’ll either do something hacky on my page or modify that file in the plugin a bit to work with what I’m setting up.

    Thread Starter heinsman182

    (@heinsman182)

    I just copied all the jQuery within the

    if ( $(‘#wp_multi_file_uploader’).length > 0 ) { }

    into my

    .load( ###, function(){ });

    on the page I’m working on so it executes all that stuff when the AJAX completes. Seems to be working at first glance.

    Thanks again for the help!

    Thread Starter heinsman182

    (@heinsman182)

    Yep, that did the trick.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AJAXing my form to another page.’ is closed to new replies.