[jQuery] Selectors , innerHTML and AJAX

[jQuery] Selectors , innerHTML and AJAX


Hi there, im having issues binding a click to links displayed after an
ajax call into a layer.
Here is what I have so far
    $("#content a.view").click(function(event) {
        alert(this.href);
        return false;
    });
<div id="content">
</div>
links in the ajax content is <a class="view" href="/path"> </a>
After the ajax call, the links are not within the div, using firebug,
everything is added into innerHTML, I cannot get to these at all, so
the click wont work.
I literally searched everywhere, the docs are failing to give such an
important example because im sure many use it, or need to use it this
way.
Any ideas ?