Get a free trial // Grow your CSS skills // Land your dream job

how to upload file to server without plugin and without reload page

  • # January 19, 2013 at 8:01 pm

    i’m sorry if my english language not good, i’m an indonesian and i’m a beginner

    is it posible for me to upload file without plugin and without refreshing page, pure javascript?

    help me please…

    # January 20, 2013 at 10:10 pm

    yeah you can do that using “ajax” , oooh and i found some tutorial that might helpful for you.

    # January 20, 2013 at 11:41 pm

    i have already know about submit data using ajax, but i don’t know about upload file using ajax, i try to search on google but all tutorial using plugin,…

    # January 21, 2013 at 2:05 am

    hmm… ,
    there’s a way to make that.

    here the tutorial i found, Check This

    # January 21, 2013 at 2:47 am

    but, it still refresh the page right?
    because the form action go to specific file

    i will make like this

    is it posible?

    # January 21, 2013 at 2:48 am

    i will put the function to a button

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed