| Author |
can the server script past back the array in the AJAX
|
albert sie
Ranch Hand
Joined: Jan 15, 2006
Posts: 108
|
|
i know when using AJAX the client will send the parameter to a server script. In the server script, for passing back the value you need to use the 'echo' for php and 'out,println' for java. if i have the array to pass back, is it the script can pass on? if can then how i can display out the value using 'responseText' method? coz the responseText value will assign into the array in order to display out one by one by using the splitter. who familiar with this problem please give the method or concept to me.Thank you. regards, albert
|
JAVA the only can called technology
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
Are you asking how to pass back an array that is on the serverside code? You would have to convert it to a string format and wrote the string to the document. Eric
|
 |
albert sie
Ranch Hand
Joined: Jan 15, 2006
Posts: 108
|
|
can teach me how to convert it to string type? i try many way cannot.
|
 |
 |
|
|
subject: can the server script past back the array in the AJAX
|
|
|