Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: Suggest..

  1. #1
    New Coder
    Join Date
    Mar 2007
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down Suggest..

    Hello,

    With reference to this script: http://the-stickman.com/web-developm...#comment-20500
    I would like to suggest to our expert to add some function like, when we submit the query which is contain to mote than one file is it possible to upload the files also in AJAX? we do not need to go the the action form.

    with the above suggestion we can get the script and used in the board, if the user need to attach a files with his post

    any help please?

    Sincerely yours,

  • #2
    New Coder
    Join Date
    Mar 2007
    Location
    italy
    Posts
    94
    Thanks
    1
    Thanked 1 Time in 1 Post
    this is not possible, you still need to use an iframe to submit the form because with AJAX you cannot have access to local files.

  • #3
    Regular Coder
    Join Date
    Oct 2005
    Location
    Right Here
    Posts
    654
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by carlitos_way View Post
    this is not possible, you still need to use an iframe to submit the form because with AJAX you cannot have access to local files.
    I really don't follow these comments BUT, you never HAVE to use an iframe, especially with AJAX.

  • #4
    New Coder
    Join Date
    Mar 2007
    Location
    italy
    Posts
    94
    Thanks
    1
    Thanked 1 Time in 1 Post
    Quote Originally Posted by iLLin View Post
    I really don't follow these comments BUT, you never HAVE to use an iframe, especially with AJAX.
    i wanted to say this:

    1-with AJAX you cannot have access to local files
    2-the alternate way to do what he asked, without using ajax, is using iframe

    sorry for my bad english but sometimes i don't think before writing..

  • #5
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Quote Originally Posted by carlitos_way View Post
    i wanted to say this:

    1-with AJAX you cannot have access to local files
    2-the alternate way to do what he asked, without using ajax, is using iframe

    sorry for my bad english but sometimes i don't think before writing..
    With AJAX you can have access to local files (if they are part of the same common folder - same as a common domain) if you install a server on your computer (Apache... whichever), run it, and launch the page under that server emulator.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #6
    New Coder
    Join Date
    Mar 2007
    Location
    italy
    Posts
    94
    Thanks
    1
    Thanked 1 Time in 1 Post
    Quote Originally Posted by Kor View Post
    With AJAX you can have access to local files (if they are part of the same common folder - same as a common domain) if you install a server on your computer (Apache... whichever), run it, and launch the page under that server emulator.
    you said it: (if they are part of the same common folder).
    if you want to do an upload you haven't that access.

  • #7
    New Coder
    Join Date
    Mar 2007
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello all,

    no response with my suggestion ? OK, do you have an advance AJAX script can I use it on the forums?

    cheers

  • #8
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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