I am using Jquery Uploadify for images upload with PHP, here i have multiple instances of uploadify and and each instance is uploading images in different folders.
I want to second instance of uploadify will start uploading images only after first instance of uploadify uploaded selected image.
$(‘#listing_image’).uploadifySettings(‘folder’,’listing_image_TempImage’);
$(‘#listing_image’).uploadifyUpload();
$(‘#listing_image1’).uploadifySettings(‘folder’,’listing_image1_TempImage’);
$(‘#listing_image1’).uploadifyUpload();
i.e ‘listing_image1’ will get call when processing of ‘listing_image’ will be completed.
How can I achieve this behavior?
I cant add a comment to you’r answer yet. So i’m writing it here instead.
Try to make one upload work by using this (make sure the links point’s to the correct locations):
When you can get that to work, then you should be able to make this work.
I didn’t test the code, but you should be able to make it work if you know a bit of javascript.
Remenber to have all your jQuery code in a $(document).ready like this: