how to open new tab when clivking button js code example Example: open new tab with javascript window.open(url,'_blank');