SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    File Upload Without Refresh

    Does anyone know of a javascript ajax library that lets the user upload a file without refresh and gets the response from the php form?

    Thanks in Advance.

  2. #2
    SitePoint Guru
    Join Date
    Apr 2007
    Posts
    813
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you need to work around with iframe for this case, Ajax can't do much for this issue.

  3. #3
    That's Right. notepad_coder's Avatar
    Join Date
    Apr 2002
    Location
    Colorado
    Posts
    835
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SimplyFu is correct, you're only bet would be to use an iframe, since you have to pass that enctype="multipart/form-data" in the upload form to upload. Take a look at this class, from what I hear it's supposed to be really nice AJAX/PHP uploader. http://www.phpclasses.org/browse/package/2759.html
    - the lid is off the maple syrup again!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •