In my application I open tasks in popups.
An URL in a popup looks like this: 'https://my.app.com/Task.aspx?id=5'
I would like to prevent that a task with a certain id opens in a new popup when a popup is already open with the same id.
So for example, i have 3 open popups with the following URL's:
- https://my.app.com/Task.aspx?id=1
- https://my.app.com/Task.aspx?id=3
- https://my.app.com/Task.aspx?id=5
When I click an url with link to https://my.app.com/Task.aspx?id=6 a new popup should open. When I click an url with link to https://my.app.com/Task.aspx?id=5 I should get a message that this popup is already open.
Background of request: I would like to prevent dataloss when 2 or more popups with same id are open.
Anybody any idea how to develop this in (probably) javascript? (my application is asp.net)
thx Frederik