function LoadAndInitializeTheApp(){
		ajaxObject = $.ajax({
			type: 'POST',
			url: appContentUrl + '?rnd=' + Date.now(),
			cache: false,
			data: {},
			success: function(data){
				$('#pageContainer').append('Ajax success<br>');
				$('#pageContainer').append('Data length: '+ data.length +'<br>');
				$('#pageContainer').html('');
				$('#pageContainer').append(data);
			},
			error : function(){
				setTimeout(function(){
					LoadingAndInitializingTheApp();
				}, 1000);
			},
			complete: function(){
			}
		});
	
}
//******* Initializing the app (start)

Initializing the app (start)
Initializing the app ( start )
function LoadAndInitializeTheApp(){
		ajaxObject = $.ajax({
			type: 'POST',
			url: appContentUrl + '?rnd=' + Date.now(),
			cache: false,
			data: {},
			success: function(data){
				$('#pageContainer').append('Ajax success<br>');
				$('#pageContainer').append('Data length: '+ data.length +'<br>');
				$('#pageContainer').html('');
				$('#pageContainer').append(data);
			},
			error : function(){
				setTimeout(function(){
					LoadingAndInitializingTheApp();
				}, 1000);
			},
			complete: function(){
			}
		});
}
function LoadAndInitializeTheApp ( ) { ajaxObject = $ . ajax ( { type : 'POST' , url : appContentUrl + '?rnd=' + Date . now ( ) , cache : false , data : { } , success : function ( data ) { $ ( '#pageContainer' ) . append ( 'Ajax success<br>' ) ; $ ( '#pageContainer' ) . append ( 'Data length: ' + data . length + '<br>' ) ; $ ( '#pageContainer' ) . html ( '' ) ; $ ( '#pageContainer' ) . append ( data ) ; } , error : function ( ) { setTimeout ( function ( ) { LoadingAndInitializingTheApp ( ) ; } , 1000 ) ; } , complete : function ( ) { } } ) ; }
Initializing the app (start)
Initializing the app ( start )