Correctly POSTing boolean values in jQuery

When I’m building Javascript/jQuery based webapps, my go-to method of performing AJAX requests is via jQuery .post() using JSON. My code normally looks something like this… var postUrl = ‘/someurl.php’; var postData = {‘id’: 123, ‘data’: ‘xyz’, ‘bool’: true}; // … Continue reading