[jQuery] How to access loaded elements?

[jQuery] How to access loaded elements?


Hi,
I have observed that if a element is ajax' loaded, it's element can
not be accessed, example:
    $("

test line

").appendTo("#test2");*/
$("p").addClass("emphasized");
This will work, but if you put the

test line

in a
file(test.html), then you do:
jQuery("#test2").load("test.html");
    $("p").addClass("emphasized");
This will display the text, but $("p") can not find the loaded

to
apply the addClass, any hint on this? Thanks.
A.C.