Not that it helps any, but this your first time trying to do this type of programming. And that's more than I can currently say.
Bob Roche
Programmer/Analyst
(847) 482-2628
[EMAIL PROTECTED]
| dp <[EMAIL PROTECTED]>
Sent by: [email protected] 03/14/2006 11:40 AM
|
To: [email protected] cc: Subject: Re: [Easy400Group] Re: AJAX and iSeries |
I'm on a roll, a unsuspecting underscore was found so I got rid of it and it went passed that point, onto the next error..
| Internal Server Error
Cannot read script output pipe. |
| Customer Group__: undefined |
I get this inside the updatepage function. I did an alert(response) and it basically included just what I am showing above.
I feel like this is my first day of programming, not my 20th year. Egads.
----- Original Message ----
From: dp <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 14, 2006 12:03:27 PM
Subject: Re: [Easy400Group] Re: AJAX and iSeries
Forget the latest issue, I fixed it replacing
<script TYPE="text/_JavaScript"> with
<SCRIPT LANGUAGE=_javascript>
Now I'm receiving "Object doesn't support
this property or method" on line
xmlHttp._onreadystatechange = updatePage;
I wonder if what I fixed above is somehow
causing this error??
Doug
----- Original Message ----
From: dp <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 14, 2006 11:27:02 AM
Subject: Re: [Easy400Group] Re: AJAX and iSeries
Hey guys - we're getting closer!! I'm
having a hard time firing up the callServer function. I keep receiving
"Error: Object Expected" on the _onChange style. It appears
_onchange="callServer()"
is the culprit. I have the function defined just like the call, with
no parms being passed, so what gives? Ideas?
----- Original Message ----
From: andrew_david_kerr <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 14, 2006 4:02:22 AM
Subject: [Easy400Group] Re: AJAX and iSeries
Doug,
I had exactly the same problem understanding the relation between the
html files, and placing the use of the concept within CGIDEV2.
> What page do you reference in your gethtmlifs procedure in ajax2??
callp gethtmlifs('/cgiprd/ajax2.html')
K. Schreur is correct. Maybe it is easier to explain in the sense
that what ajax2 returns is not really 'html', it is just a text string
(you can see this if you stick a js 'Alert' box in the updatePage).
And it is the _javascript in ajax1 that takes that string, parses it
and updates the ajax2 page dynamically in the updatePage function. In
the 'onlamp' example, you will see that they build a whole table
dynamically for the innerHTML.
--- In [email protected], "K. Schreur" <[EMAIL PROTECTED]>
wrote:
>
> I think you are missing a small point. When the page from Ajax1
sends the request, the program Ajax 2 is actually sending his html
back to the _javascript on page ajax 1 that is waiting for it. The
_javascript on the ajax 1 page is waiting for the reply through the
XmlHTTP._onreadystatechange. Once it receives it, the other _javascript
is then called to update the existing ajax 1 html page.
> ----- Original Message -----
> From: dp
> To: [email protected]
> Sent: Monday, March 13, 2006 3:55 PM
> Subject: Re: [Easy400Group] Re: AJAX and iSeries
>
>
> Thanks a lot for the example. I still have one question.
I
understand how AJAX2 gets the customer # and sends back the
response. I guess I don't understand how the html stuff on
ajax2.html gets put on ajax1.html's page. What page do you reference
in your gethtmlifs procedure in ajax2??
>
> Thanks, Doug
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.
| 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.
