Let's say i have this code
<p id="test">
some content
<p>
<a href="#" id="test-link">Open</a>
Now i want -using javascript/jquery- to create a popup window, the window content is the content of test paragraph, when test-link is clicked.
How could this be done?