Buck;
 
There aren't that many hours in a day :)
 
Few things:
 
1)  How AJAX2 actually sends the response back.  AJAX2 loads variables in AJAX2.html (via updhtmlvar) which AJAX1 receives in the UpdatePage script.  That was totally new concept for me and definitely the biggest stumbling block.
 
2)  Once the data is received, how do you separate the items?  Well, that is conveniently done via
var response = xmlHttp.responseText.split("|").                            Response gets declared as an array and elements are defined as response[0], response[1] etc etc..  Be sure to seperate the variables in your version of AJAX2.html like  fileld1 | field2                                                    
 
3)  I still need to find a way to return mutiple records.  Andrew recommended using another special character to separate records.
 
If I can think of a few more things I'll post them.  All you really need to do is download Andrew's html(ajax1,ajax2) and both rpg's.  Then tweak ajax2 to correspond to a DB file on your system.  Once you get it working, it all starts to make a lot more sense.
 
Good luck
Doug 
 
--- Original Message ----
From: Buck Calabro <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, March 20, 2006 4:24:25 PM
Subject: Re: [Easy400Group] Re: AJAX and iSeries

Hi Doug,

> Ok everyone, it works! 

While it's fresh in your mind, could you post a list
of things that tripped you up and how you solved them?
I'm sure those who follow you would be grateful!
  --buck


SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to