Yes, same result.  I added the toString() just in case.  I've
discovered more.  Here is the code right before it that makes the
variable:

var OBJ = {};
                $(":input").each( function () {
                        OBJ[$(this).attr("name")] = $(this).val();
                });
                var stringJSON = JSON.stringify(OBJ);

Now if I pass OBJ to the data: parameter it works!  Unfortunately,
double quotes make it break, etc. so I really need to have it scrubbed
before sending it, which JSON.stringify is supposed to do.  So it
looks like it doesn't like strings.  Which is weird because with
a .NET backend, it HAS to be a string.  I wish I new more about what
was going on there.

How can I do this?  Do I have to write my own scrubbing??  And why
doesn't it like strings?



On Sep 19, 11:56 am, MorningZ <[EMAIL PROTECTED]> wrote:
> have you tried:
>
> data: stringJSON
>
> (without the "toString()" ?)

Reply via email to