Question

I'm trying to implement shift8creative's agile uploader. All works well in proper browsers, but ie is causing problems.

the page is here:https://www.postadigi.com/pages/upload-order

the line the js error is highlighting is here:

document.getElementById('agileUploaderSWF').sendForm();

Iv'e tried putting it in a onclick, a jquery click function. Same error.

NB, it compresses & uploads a first image fine, but then when a second image is selected and upload clicked, it fails.

Was it helpful?

Solution

OK, fixed it.

Internet explorer was caching the swf data as detailed here:

http://www.permadi.com/tutorial/flashcache/index.html

So thanks to a tip from Richard Grove on the plugins comments, i fixed it with a bit of trickery:

flashSrc: '/js/uploader/agile-uploader.swf?' + Math.random(),

Which seems to have convinced ie to not cache it.

OTHER TIPS

document.getElementById('agileUploaderSWF').sendForm();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top