关于jq contains() MrLiAng105105 2021-05-26 212 阅读1分钟 console.log($('h3:contains("'+val+'")')) 只接受字符串,不接受变量。