[Proto-Scripty] Re: Encoding parameters in Ajax Request

2011-01-04 Thread Piotrek Reinmar Koszuliński
I can't undarstand one thing. How You encode Your original value to "Sr +16%2b"? Because when I use encodeURIComponent I get "%20Sr%2016%2B" which properly decodes to original value. EDIT: I read this topic second time and realised that the point is that it is prototype which encodes Your string a

[Proto-Scripty] Re: How to observe pure xmlHttpRequest response

2011-01-04 Thread Piotrek Reinmar Koszuliński
I don't know answer for the first question. But for the second is event capturing - http://www.quirksmode.org/js/events_order.html There are two ways of propagating events - from the outer elements and from inner. The first way is named event capturing. Unfortunately I can't find in api.prototypej

[Proto-Scripty] Re: Encoding parameters in Ajax Request

2011-01-04 Thread T.J. Crowder
Hi, > OK, testing 1.7 and am finding that my encoded parameter is being decoded > with decodeURIComponent in toQueryParms: Yes, but as I said earlier, the decoded version *isn't used*. It's only decoded to check it (at least, that's my theory; they decode it without using the result, so...). I'm

Re: [Proto-Scripty] Ajax - multiple messages on the same connection?

2011-01-04 Thread Phil Petree
There was some discussion of this for html 6 then for awile it looked like they were gonna drop it and then it came back. Latest doc is here: http://dev.w3.org/html5/eventsource/ But dont expect support anytime soon... On Mon, Jan 3, 2011 at 10:22 AM, sol wrote: > Hi, > > We are using Prototyp

[Proto-Scripty] Re: Ajax - multiple messages on the same connection?

2011-01-04 Thread Jarkko Laine
On tiistaina 4. tammikuuta 2011 at 18.22, Phil Petree wrote: > There was some discussion of this for html 6 then for awile it looked like > they were gonna drop it and then it came back. Latest doc is here: > http://dev.w3.org/html5/eventsource/ > > But dont expect support anytime soon... > >

[Proto-Scripty] Re: Encoding parameters in Ajax Request

2011-01-04 Thread kstubs
Hey TJ, I have walked Ajax#Request as you have and concur with your findings. On the backend is C#. The code is encoded like this: string val = System.Web.HttpUtility.UrlEncode(dr[m.GetAttribute("encode")].ToString().TrimEnd()); w.WriteAttributeString(m.GetAttribute("name").ToString()