在 .load() 中的元素上使用 jQuery

Use jQuery on Elements from .load()

是否可以使用 jQuery 对插入页面的元素使用:

jQuery('#here').load('slick.txt');

我想在 slick.txt 中的一个元素上使用 jQuery 但它不起作用:

jQuery('p').hide();

使用 加载完成 callback.load()

A callback function that is executed when the request completes.

jQuery('#here').load('slick.txt', function() {
    jQuery('p').hide();
});