본문 바로가기

웹 개발/extjs4

Ext.Ajax


 		Ext.Ajax.request({
	        url: '../com/ProxyJsonSimpleOneList.jsp',
	        contentType: 'json',
	        params: {
	        	name: 'value',
	        	today: new Date(),
	        	code: Ext.getCmp( 'brcCode' ).value
	        },
	        success: function(response){
	        	console.log(response);
	        },
	        failure: function(response, opts) {
	        	commonExtAjaxFailure(response, opts);
	        }
	    });





dddd