<p>I'm trying to determine, based on the result of this call, if it was successful. The <code>successFunction</code> doesn't get called, so I'm assuming it was not. How do I know what went wrong?</p>

<pre><code>xmlRequest = $.post("/url/file/", { 'id' : object.id }, successFunction, 'json');
</code></pre>

<p>Do I use the xmlRequest object?</p>

[{'answer_id': 57688, 'author': 'palehorse', 'author_id': 312, 'author_profile': 'https://Stackoverflow.com/users/312', 'pm_score': 3, 'selected': False, 'text': '<p>You could use the $.ajaxComplete() and/or $.ajaxError() methods to attach function to those events.  I would also recommend using the Firefox browser with the Firebug pluging, you can get a lot of information about the requests and responses.</p>\n'}, {'answer_id': 57997, 'author': 'defrex', 'author_id': 6007, 'author_profile': 'https://Stackoverflow.com/users/6007', 'pm_score': 4, 'selected': True, 'text': '<p>You can use:</p>\n\n<pre><code>$.ajax({\n    url:"/url/file/",\n    dataType:"json"\n    data:{ \'id\' : object.id }\n    error:function(request){alert(request.statusText)}\n    success:successFunction\n})\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/57679', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5261/']