PDA

View Full Version : Saving JSON response to a variable



sencha.user
18 Nov 2012, 10:09 AM
Hi,

I have a JSON response like,


{"value":[{"Field":"test1","table":"tablename"},{"Field":"test2","table":"tablename"},{"Field":"test3","table":"tablename"}]

I want to save tablename to a variable, how do I do that? Please help.

Thanks!

evant
18 Nov 2012, 1:05 PM
A json response from:

1) Ajax request?
2) Store load?
3) Form submit?
4) Other?

sencha.user
18 Nov 2012, 8:42 PM
Hi evant,

JSON response from AJAX (PHP server side).