You can use children().hasClass. a=$("<div></div>").html('<div class="wow">Have a good day!!!</div>') console.log('check if wow present?
確定! 回上一頁