jQuery 教程
jQuery HTML/CSS 方法
檢查 <p> 元素是否包含 "intro" 類:
hasClass() 方法檢查被選元素是否包含指定的類名稱。
如果被選元素包含指定的類,該方法返回 "true"。