This is what I logged:
Incomming (I've changed CGIDEV a little):
2006-03-25-01.31.41.222000 ZhbGetInput: Request method = POST
2006-03-25-01.31.41.224000 ContLen: Content_length = 45
2006-03-25-01.31.41.226000 ZhbGetInput: Saved query string:
2006-03-25-01.31.41.228000 ZhbGetInput: Input Buffer . = ÂC&
XnameJohn SmithXaddresssome street usa
Outgoing:
2006-03-25-01.31.41.275000
WrtSection: HTML = Content-type: text/html
WrtSection: HTML =
WrtSection: HTML = This is the response from iSeries:
WrtSection: HTML = <br>
WrtSection: HTML = Your name are John Smith
WrtSection: HTML = <br>
WrtSection: HTML = Your Address are some street usa
WrtSection: Sent 128 bytes to the browser
strange isn't it ?
what browser and version are you using, I use MSIE 6 SP2 and
Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
rgds
| "K. Schreur"
<[EMAIL PROTECTED]>
Sent by: [email protected] 25-03-2006 01:28
|
|
I have your page up now. I will have to leave my desk here in a few minutes. I typed in a name "John smith" address was "some street usa" I tabbed to submit, clicked on it and nothing. Then clicked on normal submit button and again nothing happened.
I see no error messages
----- Original Message -----
From: [EMAIL PROTECTED]
To: [email protected]
Sent: Friday, March 24, 2006 7:26 PM
Subject: Re: [Easy400Group] AJAX idears and troubles ...
Nice :-)
and I got one problem solved as well - URL encoding of special characters ...
in my sample I used:
function get(obj) {
var poststr = "name=" + encodeURI( document.getElementById("name").value ) +
"&address=" + encodeURI( document.getElementById("address").value );
makePOSTRequest('/w600libsam/ajax4p.pgm', poststr);
}
but all special char. was converted into 2 3 bytes fields as %C3%BC for ü
it should be escape NOT encodeURI ....
function get(obj) {
var poststr = "name=" + escape( document.getElementById("name").value ) +
"&address=" + escape( document.getElementById("address").value );
alert(poststr)
makePOSTRequest('/w600libsam/ajax4p.pgm', poststr);
}
WEB RESCOURCE
http://xkr.us/articles/_javascript_/encode-compare/
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.
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.
