function onActionRenderer(e) {
var grid = e.sender;
var s = '<a class="Delete_Button" href="javascript:delRow(\'' + grid +'\')">添加</a>';
return s;
}
function delRow(grid){
alert("1");
var row = grid.getSelected();
alert("2");
var contractId = row.contractId;
alert("contractId="+contractId);
}
我点击test链接后,代码执行到alert("1"),就执行不下去了。麻烦解答下。