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
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
- Visit your group "Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
- Re: [Easy400Group] Re: AJAX and iSeries K. Schreur
- [Easy400Group] Re: AJAX and iSeries andrew_david_kerr
- Re: [Easy400Group] Re: AJAX and iSeries dp
- [Easy400Group] Re: AJAX and iSeries andrew_david_kerr
- Re: [Easy400Group] Re: AJAX and iSeries dp
- Re: [Easy400Group] Re: AJAX and iSeries dp
- Re: [Easy400Group] Re: AJAX and iSeries Bob P. Roche
- Re: [Easy400Group] Re: AJAX and iSeries dp
- Re: [Easy400Group] Re: AJAX and iSeries dp
- Re: [Easy400Group] Re: AJAX and iSeries Buck Calabro
- Re: [Easy400Group] Re: AJAX and iSeries dp
- [Easy400Group] AJAX and iSeries CALLSERVER function martin_d_welsh
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function itpweb1
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function martin_d_welsh
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function martin_d_welsh
- Re: [Easy400Group] Re: AJAX and iSeries CALLSERVER funct... schreur
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function martin_d_welsh
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function andrew_david_kerr
- Re: [Easy400Group] Re: AJAX and iSeries CALLSERVER funct... dp
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function andrew_david_kerr
- [Easy400Group] Re: AJAX and iSeries CALLSERVER function ncsuman89
