21 Jul 2012, 10:43 AM
Is there an example of setting up a form with a file upload (and other fields) that includes converting the non-file fields into a single blob of JSON and then posting up the results as AJAX? I know how to do this in JQuery. The Submit class seems suspiciously relevant, but I'm not very adroit at find things in the doc here yet. Presumably, unless XHR2 is available and at work, this involves an iframe and jsonp worrying.