以下代码我需要添加target= "_blank"
:
location.href = "@Url.Action("GenericDetailsNew", "Generic"),?GenericID=" + ID;
如何在新标签中启动链接?
完整代码:
'click .detail': function (e, value, row, index) {
var ID = row.id
location.href = "@Url.Action("GenericDetailsNew", "Generic"),?GenericID=" + ID;
},