Search the web
Sign In
New User? Sign Up
AJAX_2-0 · AJAX 2.0 = XHTML DOM + Remote JavaScript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
126 Ajax Tutorials   Message List  
Reply | Forward Message #118 of 136 |
poblem using post in ajax

Hi all,
is there any way i can send the parameter data instead
of concatinating all name of the element and value of
element in "url" below. I mean sort of like a submit
to post in which the receiving end will request as
request.form something... because what if i have
thousands of elements/parameters to send to
"ajax_validateMove.aspx", do i have to concatinate
them all with the varialble name "url"? Please help.
thanks.

url="ajax_validateMove.aspx" + toConCat;
http.open("GET", url, true);
isWorking = true;
http.onreadystatechange = function(){
if (http.readyState == 4) {
isWorking = false;
if (http.responseText.indexOf('invalid') == -1) {
isWorking = false;
}
if (http.responseText == "Valid"){
... do something
}
else{
... do somthing
}
}
}
http.setRequestHeader("If-Modified-Since", "Sat, 1 Jan
2000 00:00:00 GMT");
http.send();



________________________________________________________________________________\
__________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things
done faster.
(http://advision.webevents.yahoo.com/mailbeta)




Thu Nov 2, 2006 11:25 pm

chrisandrada
Offline Offline
Send Email Send Email

Forward
Message #118 of 136 |
Expand Messages Author Sort by Date

126 Ajax Tutorials <http://vyk1.spaces.live.com/Blog/cns%21EBE3A761F939F926%211051.entry> Getting Started 1. An Ajax Hello World project to Get You Going ...
Logically Genius
logical_genius
Offline Send Email
Oct 2, 2006
4:06 am

Hi all, is there any way i can send the parameter data instead of concatinating all name of the element and value of element in "url" below. I mean sort of...
christopher andrada
chrisandrada
Offline Send Email
Nov 2, 2006
11:34 pm

Wont Iframe work for that purpose ? but then that will mean first loading the Iframe form and then submitting it; sort of slow. What else could be the answer ?...
Infoligence Associates
logical_genius
Offline Send Email
Nov 3, 2006
10:59 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help