PDA

View Full Version : Sample code for ajax call on sencha touch



chilukuri
15 Feb 2011, 4:52 AM
Someone can provide me the sample code, to use sencha touch ajax calls on mobile applications.

I want to call the servlet using ajax call in sencha. Servlet will return the JSON object as response. I have to catch the JSON object and need to display the data on the screen.

arthurakay
15 Feb 2011, 1:27 PM
First, you posted to the wrong forum. This is Ext Help forum, not the Sencha Touch Help & Discussion forum.

Second, just look at the API docs:
- http://dev.sencha.com/deploy/touch/docs/?class=Ext.Ajax

Ext.Ajax.request() is (I think) what you're asking for.

adolf.za
30 Jan 2013, 1:07 PM
sorry, replied to wrong thread ;)