tags:

views:

144

answers:

2

I'm using jQuery and the CloudKit/Tokyo Cabinet backend from an HTML page. All calls are REST/JSON so the server needs JSON data posted. How do I turn the form into JSON and post it? JQuery seems to have a type for JSON return values but not to send JSON.

Any ideas? IS it different if it's cross domain?

Alex

A: 

You could use the toJSON plugin mentioned on the jQuery plugin page.

jammus