We just need three files to upload file using ajax jquery. The $.ajax() method uses the POST method to deliver the formData object request to the "upload.php" file. FileUp is a simple, flexible, customizable jQuery file upload plugin that makes it easy to upload your local files to servers via AJAX requests, with several advanced features. Create a folder upload in the xampp/htdocs directory. If an image is successfully uploaded, it will display a preview of the image along with the words uploaded successfully. There's a typo here $('#myform').on('sumbit' the event name should be "submit". That looks neat. A: You can easily download file uploading script from phpfileuploader.com, it provides an easy to use and highly advanced file uploading script that precisely upload files to the server without refreshing the page. images and image resizing functionality -->, , , , , , , , , , , , , , , , , , , , , , ,