开发者

how to access class of this?

basically i have

$("msgbox .content").html("FOO");

but i have made a plugin and need to replace msgbox with $(开发者_Python百科this), so how to i select a class of $(this)?


If I understood you correctly:

$(".content", this).html(...);
$(this).find(".content").html(...);

Both are the same thing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜