M
Martin Karlsson
Hi guys,
Does anyone know how I can restore a selection created with
createRange()?
The problem is that I have a function that opens a new window with
window.open() which of course makes the current window to lose focus
and drop the selection. The same happens if I display an alert
message.
What I want to do is to somehow restore the selection when the new
window is closed. I don't know if this is possible, but I would really
appreciate any tips or advices in this matter.
Thanks, Martin
Does anyone know how I can restore a selection created with
createRange()?
The problem is that I have a function that opens a new window with
window.open() which of course makes the current window to lose focus
and drop the selection. The same happens if I display an alert
message.
What I want to do is to somehow restore the selection when the new
window is closed. I don't know if this is possible, but I would really
appreciate any tips or advices in this matter.
Thanks, Martin