会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
j2ee技术
博客园
首页
新随笔
订阅
管理
js 中的属性以数字开头的属性和取值
事例Json:
{"total":13,"rows":[{"hospitaltotal":57338127.7400,"total":59099795.9870,"08_clinic":200.0000,"09_hostipal":5840941.3100,"01_clinic":738864.0840,"11_hostipal":5902347.7500,"clinictotal":1761668.2470,"02_hostipal":4536070.4900,"06_hostipal":0.0000,"15_clinic":30832.5000,"orgcode":"420527070001","05_clinic":145116.8000,"orgname":"xxxxxx","12_hostipal":507978.8600,"15_hostipal":5399068.7200,"showtime":"xxxx年","09_clinic":191929.2000,"07_hostipal":4182589.2200,"02_clinic":333004.6630,"07_clinic":7526.0000,"05_hostipal":10810777.8800,"12_clinic":640.0000,"04_hostipal":4864970.8300,"14_hostipal":0.0000,"10_hostipal":3389179.8800,"11_clinic":3188.0000,"14_clinic":126270.0000,"01_hostipal":6132355.0500,"06_clinic":1.0000,"10_clinic":33872.0000,"04_clinic":150224.0000,"08_hostipal":5771847.7500}]}
将其变为对象之后:变为对象就不写了啊
解决办法:
var temp=row['01_clinic'];//不能这样取值row.01_clinic 这样会报错
posted @
2012-04-25 16:40
j2ee技术
阅读(
202
) 评论(
0
)
编辑
收藏
举报
刷新页面
返回顶部
公告