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

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -