How do i save a file using jquery and html(without any controller).
here is the code:
 $("#tab3_fileaccdoc", r).change(function (e) {
                    var formData = new FormData();
                    //var totalFiles = document.getElementById(e.id).files.length;
                    var file = document.getElementById(e.id).files[0];
                    formData.append("FileUpload", file);
                    $.ajax({
                        type: "POST",
                        url: '/fundprovider/newfundUpload_investmentlogo',
                        data: formData,
                        dataType: 'json',
                        contentType: false,
                        processData: false,
                        success: function (files, data, xhr) {
                            $("#tab3edit_fileaccdoc").val(files);
                            $("#hdnAccountDocument").val(files);
                        },
                        error: function (error) {
                        }
                    });
                })
but with out using controller or anything .. i want to save files directly in a folder using javscript or jquery.
 
     
    