I load content via Ajax and then I’ll have element like $(‘.my_content_class’) and I load data there like this $(‘.my_content_class’).load(url); , but how can I match all a elements inside that new content that I loaded to .my_content_class? I tried but it didn’t work at all.
$('.my_content_class a').each(function()
{
doSomething($(this));
});
you can actually do this directly from your ajax content if need be, without having to load it into another container