Page 2 of 2

REST-service: data-mapping - json array

Posted: Tue Jan 08, 2013 5:06 pm
by Joseph Yeung

Thanks again!

Say, instead of showing a loop, I put up

precode
var i = 0
var row = response;
document.getElementById("questionlabel").innerHTML= row.question;
<&#47;pre>/code

"question" is a column name.

Supposedly, I can show row.question in the div called "questionlabel"?

Sorry, if my question becomes very tedious.

/pre


REST-service: data-mapping - json array

Posted: Wed Jan 09, 2013 7:50 am
by Joseph Yeung

Thanks, Katya. You have been very helpful. I have re-organized my questions and post it as a new one.

Cheers!