I have been struggling with this all day.
My jTable app works fine. It does the queries in the database and puts them in a table. The JSON that jTable receiving is like this.
{
"Result": "OK",
"Records": {
"3": {
"id": "518",
"tableUID": "",
"user_id": "1795",
"username": "pnk"
},
"1": {
"id": "517",
"tableUID": "",
"user_id": "1795",
"username": "plk"
},
"2": {
"id": "516",
"tableUID": "",
"user_id": "1797",
"username": "d9"
},
"3": {
"id": "515",
"tableUID": "",
"user_id": "1795",
"username": "plkr"
},
"extra info": "some data that was generated by php and mysql"
}
}
Is the JSON stored in a variable in jQuery? If so how can I access this variable?
Basically my question is:
How do I get the extra info
bit out of the JSON with Javascript?