Javascript execution after successful upload
-
Hello Nickola,
I need to run a javascript that will do some changes to the image of the page after the file (image actually) will be uploaded successfully from the plugin. Is there an event or a listener to triger the script?I noticed to an answer you provided about 8 months ago that you used “… if ( $file[“upload_result”] == “success” …” in a php function but I cannot figure out how i could use that in a javascript function. As an example. for another plugin I used “… $(‘.quform-form-9’).on(‘quform:successStart’, function () …” but the quform:successStart listener was in the plugin’s code.
Best regards,
Nick Paraskevopoulos
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Javascript execution after successful upload’ is closed to new replies.