[jQuery] Using jQuery on imported content

[jQuery] Using jQuery on imported content


Hi all,
I have an "index" page with a div, that I $
('#mydiv").load('mypage.html') into.
The problem I'm having is, I have anchors on "mypage" that I would
like to effect with the click event on the "index" page. Trying to
access these loaded anchors via $('a#anchorid').click(...), isn't
working. Can someone show me how to handle this?
Thanks!
-pete