File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i receive two responseText with AJAX

 
albert sie
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the server script i use the two 'echo' to past back the value. how i going to write the 'ResponseText' code in order to receive two echo???

thank a lot.


regards;
albert
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make two requests if they have to be seperate. OR you need to ue some seperator in a single request.

Eric
 
albert sie
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
coz i put in the same script have two echo 1 is retrieve data and another one is to loop to get data
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic