javascript - How to save image into folder using jquery -


i working on html project. need save image project folder selected using file upload. how can write code using jquery. want save image "resources" folder in project.

$("#file")[0].files[0]
<html>  <head>  <body>    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>  </head>  <input id="file" type="file">    </body>  </html>

client side save img name , path

or

you send img details serverside . process imagedata after retun string value. save image


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -