16 Dec 2011 2:23 AM #1
Unanswered: Ajax.request()/FormPanel.submit() with Script Tags
I want to send an Ajax request to a remote PHP script in a different domain. Using a store with a ScriptTagProxy works flawlessly and I can retrieve the data returned by the PHP script. I want to do the same using only an Ext.Ajax.request() and a FormPanel.submit(), is there any parameter to enable Script Tags ?
16 Dec 2011 7:23 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Ext.Ajax won't be able to do any cross domain requests. You need Ext.util.JSONPMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.