I am working on a project in which I need to upload two Images to a server using XDK code as shown below.
intel.xdk.file.uploadToServer(I need to upload Two pictureURL,http://www.myserver.com/uploadImage.asmx, win, fail,options);
I don't know how to upload two attachment with the same paramters and same options. I searched a lot with no hope.
Please assist, thanks.
We no longer support those intel.xdk plugins, they have been retired. I suggest you use the Cordova file and file transfer plugins. There are many blogs and posts on SO that explain how to use them to accomplish what you are trying to do.