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]Sent: Friday, March 24, 2006 7:26 PMSubject: 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.
