<asp:FileUpload runat="server" id="fleupload" />
$('#btn').click(function () { $.ajaxFileUpload({ type: 'POST', contentType: "application/json; charset=utf-8", url: 'Handlers/UploadFile.ashx', secureuri: false, dataType: 'text', contentType: "text/html", data: { $('#aid').val() }, success: function (data, status) { if (data.length > 0) { alert(data); } else { } }, error: function (data, status, e) { if (err.statusText.length > 0) { alert(err.statusText); } } }); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)