[Proto-Scripty] Re: Encoding problem with new Ajax.Request

2008-10-21 Thread Saiful Amri
Dear... try using msgtime=+encodeURIComponent(msgtime) I think it does work, thanks Saiful Amri On Tue, Oct 21, 2008 at 1:12 AM, Uzm [EMAIL PROTECTED] wrote: I've a small problem with new Ajax.Request. Actually, there isn't really a problem with the function itself, but with

[Proto-Scripty] Re: Encoding problem with new Ajax.Request

2008-10-21 Thread Baglan
If that's the only problem, why not deal with it on the server. I see that you're using PHP. That would be as easy as: $msgtime = str_replace('%3A',':',$_REQUEST['msgtime']); Considering that message is received by the server-side script almost instantly, you could forgo sending the time at all