how to keep track of a new open browser tab in javascript code example
Example: javascript open new window with html content
var newWin = open('url','windowName','height=300,width=300');
newWin.document.write('html to write...');
var newWin = open('url','windowName','height=300,width=300');
newWin.document.write('html to write...');