I have what I think is a pretty basic function going on that fails in IE everytime. The code is below. The javascript is first, followed by the ajax response.
In IE, the ajaxForm() function doesn't resolve to success, but it does in FireFox, Opera and Safari On IE, the error: function() returns "parseerror" from the textStatus variable. What can I change to fix this? $('form#insert_person_modal').ajaxForm({ dataType: 'json', success: function(data, statusText, jqForm){ handle_error_array(data.error_array, $(jqForm)); if('insert_id' in data){ $("div#insert_person_modal_popup").removeShadow ().hide(); $('#teams_rosters_person_id').val (data.insert_id); $('#teams_rosters_person_id_autocompletor').val($ ('#insert_person_modal_first_name').val() + ' ' + $ ('#insert_person_modal_last_name').val()); } }, error: function(XMLHttpRequest, textStatus, errorThrown){ alert("error thrown " + errorThrown); alert("text status " + textStatus); alert("Request " + XMLHttpRequest); } }); AJAX request (as JSON): {"error_array":{"home_association":"The Association you have entered is not a valid option. Please select another Association and try again."}} RESPONSE HEADERS: Date Wed, 23 Dec 2009 00:40:48 GMT Server Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7l DAV/2 PHP/ 5.2.5 X-Powered-By PHP/5.2.5 Expires Thu, 19 Nov 1981 08:52:00 GMT Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre- check=0 Pragma no-cache Content-Length 602 Keep-Alive timeout=5, max=100 Connection Keep-Alive Content-Type application/json