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

代码如下 ,a是什么,对象吗,还是字符串,如何得到a
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}
------解决方案--------------------
!0是true。!1是false 。这种表达式 不用加引号。