Hi,
I have a button on an asp page, when pressing it a html page opens with a table rendered on it, that page remains open, and when pressing the button again, i want to bring the focus to the open page, or - open a new page.
what happens now, is that if i press the button 5 times, i have on the old page - 5 tables :( how could i prevent that?
my code is:
Thanks
I have a button on an asp page, when pressing it a html page opens with a table rendered on it, that page remains open, and when pressing the button again, i want to bring the focus to the open page, or - open a new page.
what happens now, is that if i press the button 5 times, i have on the old page - 5 tables :( how could i prevent that?
my code is:
Code:
var taskWindow = window.open("", "viewTaskWindow");
Comment