[jQuery] .click() not working on page loaded with .load()

[jQuery] .click() not working on page loaded with .load()


Hello,
I'm using this code in jquery to load the content of a div
(primaryContentContainer) by cliking on <a href...
$(document).ready(function()
{
$("a").click(function()
{
var link=$(this).attr("id");
$("#primaryContentContainer").load("pages/"+link
+".html");
};
} );
I'm using this kind of link : <a href="#" id="dos622">Dos v6.22 boot
disk</a>
It's working fine, but if i put a link in a page that's loaded
by .load(), the link seems not working.
Exemple: clicking on <a href="#" id="dos622">Dos v6.22 boot disk</a>
load the page dos622.html in the div with
id="primaryContentContainer". But the same (or other) link if
contained in dos622.html will not work.
I don't have much experience with jquery, can someone help me please?