しかし、それは隠さない機能していない別の事業部のクラスに基づいた事業部を非表示に別のdivに基づいてdiv要素を隠そうと
<script>
$(document).ready(function() {(
if($("p").hasClass('.out-of-stock')) {
$('#enquiry').hide();
}
});
</script>
ライブサイトで - http://trent-art.co.uk/shop/william-atherton-christmas-around-the-corner/
アイテムが在庫切れの場合、ベストオファーの提出ボタンを隠そうとしています。
'.out-of-stock'からドットを削除すると' 'if($(" p ")。hasClass( '在庫切れ'))' –
が試してみて、ライブサイトをご覧ください - http://trent-art.co.uk/shop/william-atherton-christmas-around-the-corner/ - アイテムが
– FoamyMedia
あなたの質問に[mcve]を投稿してください – j08691