OK I will try "object of key/value pairs". You mean i should use "data:{Arg:args2} ". is it right?
On Aug 12, 4:05 am, Stephan Beal <sgb...@googlemail.com> wrote: > On Aug 11, 11:53 am, Jules <jwira...@gmail.com> wrote: > > > After re-reading the original post, it seems json is not required > > > just use > > data:"Args="+args2 > > Don't do that. If args2 contains any invalid characters (i.e. a space) > then this will fail, possibly in mysterious ways. Always send the data > as an object of key/value pairs, and let the jquery internals escape > it for you.