Call the window with another name, that's all.(Check the names
test1
&
test2
&
test3
in the code)
<html>
<head>
<script type="text/javascript">
function open_win()
{
window.open("http://www.microsoft.com/","test1");
window.open("http://www.microsoft.com/","test2");
window.open("http://www.microsoft.com/","test3");
}
</script>
</head>
<body>
<form>
<input type="button" value="Open Windows" onclick="open_win()">
</form>
</body>
</html>
Now this script will open the same page 3 times & do changes based on your need. The trick is you need to change the
name
dynamically to open multiple windows