In this tip i will help you  to upload image using  jQuery without using any other jQuery plugin. You can also check some other jQuery Tutorial’s.

CODE

First create new html file in your favorite  text editor and copy below code. Before start writing code add jQuery plugin or jQuery CDN. Created simple html form for uploading image. I use jQuery Ajax Method to upload my image as shown below.

When image is uploaded to server it return output in json format.

🙂

Posted in: PHP