But I did that by using the example code given on docs site

Yes, that example is correct.  See the difference:

 data: "url="+url,num="+num,
 data: "name=John&location=Boston",

As for the question about encoding, if the "data" option is a string
it is assumed that it is already encoded.  If it is an object then
encoding is triggered by the "processData" option which defaults to
true.

Mike

Reply via email to