Server side to upload file through jQuery Ajax -
i trying upload blob, unable figure out server side code same. kindly explain how server act , provide appropriate code. working orbit server (lua based). however, code in language helpful.
in current code, alert "start" displayed , nothing happens. nothing happens, neither on server or client. alerts "end" , "saved" not displayed.
var fd = new formdata(); fd.append("filedata",blob); alert("start"); $.ajax({ type: "get", url: "convert", data: fd }).done(function(o) { alert('saved'); }); alert("end");
Comments
Post a Comment