You might be able to call FileUploadJS(document.getElementById('upload'));
This would override the submit event, and perform an ajax file upload along with existing form values. If the ajax file upload is not supported, then it would allow the standard file upload to go through.
I'm thinking if you have markup like:
You might be able to call FileUploadJS(document.getElementById('upload'));
This would override the submit event, and perform an ajax file upload along with existing form values. If the ajax file upload is not supported, then it would allow the standard file upload to go through.