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.
精彩评论