Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-25-2007, 09:53 AM   PM User | #1
snake_eyes
New Coder

 
Join Date: Mar 2007
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
snake_eyes is an unknown quantity at this point
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,
snake_eyes is offline   Reply With Quote
Old 03-26-2007, 09:14 AM   PM User | #2
carlitos_way
New Coder

 
Join Date: Mar 2007
Location: italy
Posts: 94
Thanks: 1
Thanked 1 Time in 1 Post
carlitos_way is an unknown quantity at this point
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.
carlitos_way is offline   Reply With Quote
Old 03-30-2007, 05:28 AM   PM User | #3
iLLin
Regular Coder

 
Join Date: Oct 2005
Location: Right Here
Posts: 654
Thanks: 1
Thanked 0 Times in 0 Posts
iLLin is an unknown quantity at this point
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.
iLLin is offline   Reply With Quote
Old 03-30-2007, 10:45 AM   PM User | #4
carlitos_way
New Coder

 
Join Date: Mar 2007
Location: italy
Posts: 94
Thanks: 1
Thanked 1 Time in 1 Post
carlitos_way is an unknown quantity at this point
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..
carlitos_way is offline   Reply With Quote
Old 03-30-2007, 10:53 AM   PM User | #5
Kor
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 has a spectacular aura aboutKor has a spectacular aura about
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
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote
Old 03-30-2007, 05:00 PM   PM User | #6
carlitos_way
New Coder

 
Join Date: Mar 2007
Location: italy
Posts: 94
Thanks: 1
Thanked 1 Time in 1 Post
carlitos_way is an unknown quantity at this point
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.
carlitos_way is offline   Reply With Quote
Old 04-04-2007, 09:29 PM   PM User | #7
snake_eyes
New Coder

 
Join Date: Mar 2007
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
snake_eyes is an unknown quantity at this point
Hello all,

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

cheers
snake_eyes is offline   Reply With Quote
Old 04-05-2007, 08:48 AM   PM User | #8
Kor
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 has a spectacular aura aboutKor has a spectacular aura about
You could have simple googled for

http://www.devx.com/webdev/Article/28695
http://www-128.ibm.com/developerwork...wa-ajaxintro3/
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:14 AM.


Advertisement
Log in to turn off these ads.