troubleshooting Question

IE Issue with jquery.form.js

Avatar of dirknibleck
dirknibleck asked on
4 Comments1 Solution695 ViewsLast Modified:
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 every other major browser on Windows and Mac.

On IE, the error: function() returns "parseerror" from the textStatus variable.

What can I change to fix this?
	dataType: 'json',
	success: function(data, statusText, jqForm){
		handle_error_array(data.error_array, $(jqForm));
		if('insert_id' in data){
		 $('#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."}}
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros