...that looks like a handy tool. I got it to work, and when I tuck it into my .js file just after:
$.each(data, function(index, item){
console.log(item);
...the console DOES show me what appears to be the complete/useful info for each record like this:
(one JSON item/object)
Object {OFFER_ID: "8", PROPERTY: "Example_0004", STAFF: "JOAN", BUYER_NAME: "Skywalker", AGENT_LISTER: "Jabba/HuttRealty"…}
AGENT2_CONTACT: "ddd@nnnnnn.com"
AGENT_LISTER: "Jabba/HuttRealty"
AGENT_SELLER: "JOAN"
BUYER_NAME: "Skywalker"
CCRE_ID: "0"
DATE_OFFER: "2009-04-20"
DEALTYPE: "NON"
OFFERNOTES: "Test recording"
OFFER_ID: "8"
OFFER_STATUS: "Closed"
PROPERTY: "Example_0004"
STAFF: "JOAN"
proto: Object
defineGetter: function defineGetter() { [native code] }
defineSetter: function defineSetter() { [native code] }
lookupGetter: function lookupGetter() { [native code] }
lookupSetter: function lookupSetter() { [native code] }
constructor: function Object() { [native code] }
hasOwnProperty: function hasOwnProperty() { [native code] }
isPrototypeOf: function isPrototypeOf() { [native code] }
propertyIsEnumerable: function propertyIsEnumerable() { [native code] }
toLocaleString: function toLocaleString() { [native code] }
toString: function toString() { [native code] }
valueOf: function valueOf() { [native code] }
HOWEVER, I think the first thing I need to know how to do is how to use that id="offer_id" value (ie. send it into some kind of javascript function that can tap the existing JSON data)
The clicked value that DOES appear in: "<span id="offer_id"></span>" should return that portion(row) of the JSON in some readable form, showing me a table with all of the field/value pairs
so if I cliked on the row that had offer_id "8", I would see the following complete details.
AGENT2_CONTACT: "ddd@nnnnnn.com"
AGENT_LISTER: "Jabba/HuttRealty"
AGENT_SELLER: "JOAN"
BUYER_NAME: "Skywalker"
CCRE_ID: "0"
DATE_OFFER: "2009-04-20"
DEALTYPE: "NON"
OFFERNOTES: "Test recording"
OFFER_ID: "8"
OFFER_STATUS: "Closed"
PROPERTY: "Example_0004"
STAFF: "JOAN"
I what I am not getting is how to write javascript to tap the existing JSON to display that set of stuff.