我意识到下面的内容是错误的,因为隐藏不带布尔值。我只是很难点击最简单的方法是什么?location.hostname.indexOf("someval" > 0) { } else { }我想用这样的东西
<divhidden="evaluateBoolean()"> this will be shown or displayed depending on th
我有一个div,我想通过点击里面的一个按钮来隐藏。我通过使用.show()和.addClass()成功地实现了它,但是相反-- .hide()和.removeClass() --它不起作用!我想用distributeModalContent和distributeModal类显示div。然后用#okButton点击按钮将它们隐藏起来。使用.parent()可以工作,但它也隐藏了distributeRow div