The following code I need to add target= "_blank"
:
location.href = "@Url.Action("GenericDetailsNew", "Generic"),?GenericID=" + ID;
How do I launch the link in a new tab?
Full code:
'click .detail': function (e, value, row, index) {
var ID = row.id
location.href = "@Url.Action("GenericDetailsNew", "Generic"),?GenericID=" + ID;
},