Friday, November 20, 2015

How to open Javascript window.open in new tab or different popup

function openFile(url,filename){
 win = window.open(url,"DOCNAME"+filename,'_blank,width=800,height=600,scrollbars=yes,menubar=yes,status=yes,resizable=no,modal=yes,directories=false,location=false);
        win.focus();
}
file.txt

abc.txt