function checkPass(flg){
var submit = function (v, h, f) {
if (v == true)
//jBox.tip("恩", 'info');
else
//jBox.tip("好吖", 'info');
return true;
};
$.jBox.confirm('你确定此操作吗?', '系统提示', submit, { buttons: { '确定': true, '取消': false} });
}
<a href="${ctx}/componentinfo/componentInfo/delete?id=${componentInfo.id}" onclick="return confirmx('确认要删除该桌面组件吗?', this.href)">删除</a>