Take the 2-minute tour ×  I am sending some request on a server
and it's reply me this:  {"COLUMNS":["REGISTRATION_DT","USERNAME
","PASSWORD","FNAME","LNAME","EMAIL","MOBILE","FACEBOOK_ID"],"DA
TA":[["March, 17 2012 16:18:00","someuser",somepass,"somename","
somesur","someemail",sometel,"someid"]]}  I tried a lot but
nothing seems to working for me!  var xml2 = this.responseData;
var xml3 = xml2.getElementsByTagName("data");  For this code I
get "null".  Any help would be appreciated!  share|improve this
question add comment  3 Answers  up vote 1 down vote accepted
If you're trying to use JSON format, your problem is that the
data within the [...] also needs to be in pairs, and grouped in
{...} like here.  For instance,        "sales": [           {
"firstname" : "John", "lastname" : "Brown" },          {
"firstname" : "Marc", "lastname" : "Johnson" }       ] // end of
sales array  So you might have:  {"COLUMNS": [
{"REGISTRATION_DT" : "19901212", "USERNAME" : "kudos",
"PASSWORD" : "tx91!#1", ... },   {"REGI