i have this function but when I add in the html target = '_ blank' it doesn't open in a new tab
enter code here
function openSection(evt,sectionName) {
evt.preventDefault();
var url = ''+sectionName+'.php';
console.log(url);
$('#content-nav-wilflix li').removeClass('active');
$('#btn-view-'+sectionName+'').parent('li').addClass('active');
$.ajax({
url:url,
beforeSend:function(){
$('.content-categorias').html('cargando...');
},success:function(){
$('.content-categorias').load(url);
}
});