PDA

View Full Version : Load JSON remotely?



smick
18 Feb 2011, 11:26 AM
This should be an easy one...

I need to load a json block from a php page into Ext to be accessible as a variable.

What is the proper method of doing this without having to use a store?

Thanks for any help

arthurakay
18 Feb 2011, 12:41 PM
Use Ext.Ajax.request(). In your response callback, assign the decoded value to a local variable.