var s = xconn.responseText;改成eval("var s = " + xconn.responseText);
你返回的是字符串,不是Json对象