In jQuery, you can pass an object into it\'s \'param\' (e.g. var postData = $.param(myOb);) function and it returns an x-www-form-urlencoded string suitable for POS
var postData = $.param(myOb);