Issue #1264Opened July 7, 2018by JPPreusDev0 reactions

How to upload image using jQuery within WordPress using assets manager.

Question

Code SnippetTEXT
This is the code that I have:

assetManager: {
    uploadFile: (e) => {
        jQuery.post(
            ajaxurl,
            {
                ......
            }
        );
    }
}

But when I drop the image inside of the drop area, it does not trigger the jQuery post function. can you please help guide me with what I am doing wrong?

Answers (2)

lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.