Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ajax file form

var form = $('#job-request-form')[0];
        var formData = new FormData(form);
        event.preventDefault();
        $.ajax({
            url: "/send_resume/", // the endpoint
            type: "POST", // http method
            processData: false,
            contentType: false,
            data: formData,
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ajax #file #form
ADD COMMENT
Topic
Name
3+1 =