【发布时间】:2014-10-24 12:48:30
【问题描述】:
我有 2 个 div,如果其中一个显示为 class="goodbye" - 如何使用 php 删除另一个 div?
或者我必须使用 jQuery 吗?
<!-- this div should not show if the below class="goodbye" is on the page -->
<div class="hello">
Hello
</div>
<div class="goodbye">
goodbye
</div>
【问题讨论】:
-
对以下答案有任何反馈吗?