【发布时间】:2012-07-02 16:57:19
【问题描述】:
所以我有这个代码
if ($(this).is(".item")) {
$("#hoverdiv").text("This div has the Item class<br>Test").show();
}
而且我发现了使用 .text 不会解析 HTML 代码的困难方法。有什么办法可以解决这个问题吗?
【问题讨论】:
-
如果你知道 jQuery、html 和 parse 这三个词,你自己很容易找到。只是说