Helpful Information
 
 
Category: Ajax and Design
Suggest..

Hello,

With reference to this script: http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/#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:D

any help please?

Sincerely yours,

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.

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.

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.. :rolleyes:

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.. :rolleyes:
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.

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.

Hello all,

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

cheers

You could have simple googled for

http://www.devx.com/webdev/Article/28695
http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro3/










privacy (GDPR)