We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using couchdb jquery api. With normal input type file, I am saving image as attachment with ajaxsubmit request .
$('#form_id').ajaxSubmit({ // Submit the form with the attachment url: "/"+ database_name +"/"+ couchdb_document_id, success: function(response) { console.log("success"); }, error: function(data, error, reason) { console.log("error"); } });
Now I want to save dropped file. but I am getting base64 encoded string, which is representing the image.
I want to drooped image as a file object. How can I get same file object for dropped element, as I am getting while uploading with input type file.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using couchdb jquery api.
With normal input type file, I am saving image as attachment with ajaxsubmit request .
HTML::
JS::
$('#form_id').ajaxSubmit({
// Submit the form with the attachment
url: "/"+ database_name +"/"+ couchdb_document_id,
success: function(response) {
console.log("success");
},
error: function(data, error, reason) {
console.log("error");
}
});
Now I want to save dropped file. but I am getting base64 encoded string, which is representing the image.
I want to drooped image as a file object. How can I get same file object for dropped element, as I am getting while uploading with input type file.
The text was updated successfully, but these errors were encountered: