The code below redirects to another page, but I would like it to be in another browser tab, so I used _blank. Bad does not go to another tab.
Could someone tell me where I'm going wrong? Thanks guys.
<script type="text/javascript">
$('#veranexo').click(function(){
var ass_id = $("#ass_id").val();
$(location).attr('href','<?php echo base_url() ?>/dashboard/usuarios/excluir/'+ass_id);
$(location).attr("target","_blank");
});