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