Part of the webpage on a new window
===

If I have some hidden element on a page, that contains some content, how can I create a link and when user clicks it, browser would open a new window and show the content (only the content, for example some json data)?

ps. I know that's probably bad idea to have some hidden content on the page. It's better to put an action link that  will get the content from the server.. But it involves many other headaches and it wasn't me who created the page, so please just let me know if there's a comparatively easy solution... 