/jquery-ajax-form-data-upload

Use browser FormData object to upload files

Primary LanguageHTML

General Assembly Logo

File upload client using FormData.

Instructions

Fork and clone this repository.

Objectives

By the end of this lesson, students should be able to:

  • Upload files to an appropriately configured server using jQuery.ajax and FormData.

Prerequisites

  • A working knowledge of basic HTML forms.
  • A working knowledge of jQuery event handling.
  • A working knowledge of jQuery.ajax.

Code along

We'll create a form for file uploads in index.html and JavaScript to send the file to a web server in index.js.