I have an html page and basically it contains 2 div blocks and 2 links. Now, when I click one link then the content of first div should get opened in a new window. Similarly, when I click second link content of second div should get opened in another new window.
Here’s a code – http://jsfiddle.net/PAJWV/5/
I do agree that it is impossible, but in case there is a workaround. Thanks.
Try above code by calling the function onclick