日期:2014-05-16  浏览次数:20485 次

a={"params.artId":TY.param.getParam("id")||bbsGlobal.artId,"params.item":TY.para
怎么输出a,   用alert(a["params.artid"])没有弹出任何东西

a={"params.artId":TY.param.getParam("id")||bbsGlobal.artId,"params.item":TY.param.getParam("item")||

bbsGlobal.item,"params.appId":jQuery("#post_head .atl-menu").attr

("js_appid"),"params.appBlock":TY.param.getParam("item")||bbsGlobal.item,"params.postId":TY.param.getParam

("id")||bbsGlobal.artId,"params.preUrl":jQuery("#post_head .atl-menu").attr

("js_activityurl"),"params.preTitle":decodeURI(jQuery("#post_head .atl-menu").attr

("js_title")),"params.preUserId":jQuery("#post_head .atl-menu").attr("_host"),"params.preUserName":decodeURI

(jQuery("#post_head .atl-menu").attr("js_activityusername")),"params.prePostTime":jQuery("#post_head .atl-

menu").attr("js_posttime"),"paramsaction":jQuery("#user_action").size()?jQuery("#user_action").val

():"","params.sourceName":"天涯论坛","params.type":3,"params.bScore":!

0,"params.content":s.content,"params.title":s.content,"params.bWeiBo":!1}
------解决方案--------------------
alert(JSON.stringify(a))