open another tab javascript code example Example: open new tab with javascript window.open(url,'_blank');