其他分享
首页 > 其他分享> > js 获取带点的json 属性

js 获取带点的json 属性

作者:互联网

var rowData = jQuery('#grid-table').jqGrid('getRowData',id);
if('unsolve'==rowData['securityProblemReply.problemStatus']){
    operation += '<button class="btn btn-xs btn-primary" title="编辑" onclick="edit(\'' + id + '\');"><i class="ace-icon fa fa-pencil-square-o bigger-10"></i></button>&nbsp;';
    operation += '<button class="btn btn-xs btn-danger" title="删除" type="button" ONCLICK="delItem('+id+')"><i class="ace-icon fa fa-trash-o bigger-110 "></i></button>';
}

 

标签:jQuery,jqGrid,带点,getRowData,js,securityProblemReply,json,rowData,operation
来源: https://www.cnblogs.com/fuerming/p/16521026.html