Показать сообщение отдельно
  #1 (permalink)  
Старый 26.08.2013, 22:58
Аспирант
Отправить личное сообщение для xber9 Посмотреть профиль Найти все сообщения от xber9
 
Регистрация: 09.11.2012
Сообщений: 34

не работает ajax в IE
народ подскажите
пишу аякс-запрос

$(document).ready(function(){
		
		            $.ajax({
                url: "autolist.php",
                data: {                    
                    b: "00"
			    },
                dataType: "json",
                type: "GET",
                success: function(i){                    
               $('#inner').empty();
			   $('#inner').append(i);
			    },
                error: function(i){
                          alert(i);
						  console.dir(i);
					
				          }
            })

		
		});


в хроме все работает а вот в IE выполняется error блок
и вот какая ерунда падает в консоль

Код:
[spoiler =консоль]
Журнал: {
	readyState : 4,
	setRequestHeader : function( name, value ) { 					if ( !state ) { 						var lname = name.toLowerCase(); 						name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; 						requestHeaders[ name ] = value; 					} 					return this; 				},
	getAllResponseHeaders : function() { 					return state === 2 ? responseHeadersString : null; 				},
	getResponseHeader : function( key ) { 					var match; 					if ( state === 2 ) { 						if ( !responseHeaders ) { 							responseHeaders = {}; 							while( ( match = rheaders.exec( responseHeadersString ) ) ) { 								responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; ,
	overrideMimeType : function( type ) { 					if ( !state ) { 						s.mimeType = type; 					} 					return this; 				},
	abort : function( statusText ) { 					statusText = statusText || strAbort; 					if ( transport ) { 						transport.abort( statusText ); 					} 					done( 0, statusText ); 					return this; 				},
	state : function() { 					return state; 				},
	always : function() { 					deferred.done( arguments ).fail( arguments ); 					return this; 				},
	then : function( /* fnDone, fnFail, fnProgress */ ) { 					var fns = arguments; 					return jQuery.Deferred(function( newDefer ) { 						jQuery.each( tuples, function( i, tuple ) { 							var action = tuple[ 0 ], 								fn = fns[ i ]; 							// deferred[ done ,
	promise : function( obj ) { 					return obj != null ? jQuery.extend( obj, promise ) : promise; 				},
	pipe : function( /* fnDone, fnFail, fnProgress */ ) { 					var fns = arguments; 					return jQuery.Deferred(function( newDefer ) { 						jQuery.each( tuples, function( i, tuple ) { 							var action = tuple[ 0 ], 								fn = fns[ i ]; 							// deferred[ done ,
	done : function() { 				if ( list ) { 					// First, we save the current length 					var start = list.length; 					(function add( args ) { 						jQuery.each( args, function( _, arg ) { 							var type = jQuery.type( arg ); 							if ( type === "function" && ( !,
	fail : function() { 				if ( list ) { 					// First, we save the current length 					var start = list.length; 					(function add( args ) { 						jQuery.each( args, function( _, arg ) { 							var type = jQuery.type( arg ); 							if ( type === "function" && ( !,
	progress : function() { 				if ( list ) { 					// First, we save the current length 					var start = list.length; 					(function add( args ) { 						jQuery.each( args, function( _, arg ) { 							var type = jQuery.type( arg ); 							if ( type === "function" && ( !,
	success : function() { 				if ( list ) { 					// First, we save the current length 					var start = list.length; 					(function add( args ) { 						jQuery.each( args, function( _, arg ) { 							var type = jQuery.type( arg ); 							if ( type === "function" && ( !,
	error : function() { 				if ( list ) { 					// First, we save the current length 					var start = list.length; 					(function add( args ) { 						jQuery.each( args, function( _, arg ) { 							var type = jQuery.type( arg ); 							if ( type === "function" && ( !,
	complete : function() { 				if ( list ) { 					// First, we save the current length 					var start = list.length; 					(function add( args ) { 						jQuery.each( args, function( _, arg ) { 							var type = jQuery.type( arg ); 							if ( type === "function" && ( !,
	statusCode : function( map ) { 			if ( map ) { 				var tmp; 				if ( state < 2 ) { 					for ( tmp in map ) { 						statusCode[ tmp ] = [ statusCode[tmp], map[tmp] ]; 					} 				} else { 					tmp = map[ jqXHR.status ]; 					jqXHR.always( tmp ); 				} 			} 			return th,
	responseText : "п»ї"<table width='100%' border='0' >\r\n  <tr>\r\n    <td style='border-width: 0px;border:none none; text-align:left;'><h2>\u0418<\/h2><br><a href=#>\u0418\u0431\u0440\u0435\u0441\u0438 (\u0427\u0443\u0432\u0430\u0448\u0438\u044f)<\/a><br><a href=#>\u04,
	status : 200,
	statusText : "OK"
}
[/spoiler]
что делать?

Последний раз редактировалось xber9, 26.08.2013 в 23:06.
Ответить с цитированием