asp.net div/iframe as target
===

I have a div with called `mainContent` and if I click a link I want to clear `maincontent`, add an `iframe` to the div, and open up the page from the link in the `iframe`

How to go about doing that?
I assume some JS is needeD?