<p>I have determined that my JSON, coming from the server, is valid (making the ajax call manually), but I would really like to use JQuery. I have also determined that the "post" URL, being sent to the server, is correct, using firebug. However, the error callback is still being triggered (parse error). I also tried datatype: text.</p>

<p>Are there other options that I should include?</p>

<pre><code>$(function() {
    $("#submit").bind("click", function() {
        $.ajax({
            type: "post",
            url: "http://myServer/cgi-bin/broker" ,
            datatype: "json",
            data: {'start' : start,'end' : end},
            error: function(request,error){
                alert(error);
            },
            success: function(request) {
                alert(request.length);
            }
        }); // End ajax
    }); // End bind
}); // End eventlistener
</code></pre>

[{'answer_id': 79617, 'author': 'Adam Weber', 'author_id': 9324, 'author_profile': 'https://Stackoverflow.com/users/9324', 'pm_score': 5, 'selected': True, 'text': '<p>Here are a few suggestions I would try:</p>\n\n<p>1) the \'datatype\' option you have specified should be \'dataType\' (case-sensitive I believe)</p>\n\n<p>2) try using the \'contentType\' option as so:</p>\n\n<pre><code>contentType: "application/json; charset=utf-8"\n</code></pre>\n\n<p>I\'m not sure how much that will help as it\'s used in the request to your post url, not in the response.\nSee this article for more info: <a href="http://encosia.com/2008/06/05/3-mistakes-to-avoid-when-using-jquery-with-aspnet-ajax" rel="noreferrer">http://encosia.com/2008/06/05/3-mistakes-to-avoid-when-using-jquery-with-aspnet-ajax</a>\n(It\'s written for asp.net, but may be applicable)</p>\n\n<p>3) Triple check the output of your post url and run the output through a JSON validator just to be absolutely sure it\'s valid and can be parsed into a JSON object. <a href="http://www.jsonlint.com" rel="noreferrer">http://www.jsonlint.com</a></p>\n\n<p>Hope some of this helps!</p>\n'}, {'answer_id': 6434910, 'author': 'Big Al', 'author_id': 809665, 'author_profile': 'https://Stackoverflow.com/users/809665', 'pm_score': 0, 'selected': False, 'text': '<p>The data parameter is wrong. Here is an example that works:</p>\n\n<p>data: { index: ddl.selectedIndex },</p>\n\n<p>This contructs an object with property called index with value ddl.selectedIndex.</p>\n\n<p>You need to remove the quotes from your data parameter line</p>\n\n<p>Good luck\nA</p>\n'}, {'answer_id': 9664708, 'author': 'Bohdan Hdal', 'author_id': 801142, 'author_profile': 'https://Stackoverflow.com/users/801142', 'pm_score': 1, 'selected': False, 'text': '<p>Why <code>myResult</code> instead of <code>request</code>?</p>\n\n<pre><code>success: function(request) {\n  alert(myResult.length);\n}\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/79498', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2755/']