Update: The info about "normal location" for response data is
incorrect. With YUI Connection Manager the response data is always in
o.responseText. My problem had something to do with "text/html" mime
encoding of the escaped string "". Somehow this was getting
changed at the browser to "", and tha
Malcolm,
Thanks so much for your suggestion. With that knowledge I found the problem
in 10 minutes. The culprit turns out to be the YUI Connection Manager. As it
turns out, when handling a file upload they change the location of the
returned data. My response gets placed in a totally different chil
On Wed, 2008-01-02 at 15:38 -0800, grahamu wrote:
[...]
> As an example, the JSON response seen by the javascript might be:
>
>"{\"valid\": false, \"errors\": {\"options\": \" \"errorlist\\">- This field is required.<\/li><\/
> ul>\"}}"
>
> when it should be:
>
>"{\"vali
On Jan 2, 7:13 pm, grahamu <[EMAIL PROTECTED]> wrote:
> > On Jan 2, 4:43 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> > wrote:
>
> > > On Wed, 2008-01-02 at 15:38 -0800, grahamu wrote:
> > > > Hi,
> > > > I'm having a problem with Django "HTML escaping" JSON data sent in
> > > > response to an as
> On Jan 2, 4:43 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Wed, 2008-01-02 at 15:38 -0800, grahamu wrote:
> > > Hi,
> > > I'm having a problem with Django "HTML escaping" JSON data sent in
> > > response to an asynchronous form submission when the form has an
> > > field. F
On Jan 2, 4:43 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Wed, 2008-01-02 at 15:38 -0800, grahamu wrote:
> > Hi,
> > I'm having a problem with Django "HTML escaping" JSON data sent in
> > response to an asynchronous form submission when the form has an
> > field. Forms that don't have
On Wed, 2008-01-02 at 15:38 -0800, grahamu wrote:
> Hi,
> I'm having a problem with Django "HTML escaping" JSON data sent in
> response to an asynchronous form submission when the form has an
> field. Forms that don't have a file field
> yield proper responses, and when Javascript is disabled on
Hi,
I'm having a problem with Django "HTML escaping" JSON data sent in
response to an asynchronous form submission when the form has an
field. Forms that don't have a file field
yield proper responses, and when Javascript is disabled on the browser
normal form submissions work as well.
I'm using
8 matches
Mail list logo