📅  最后修改于: 2022-03-11 14:48:20.411000             🧑  作者: Mango
/*SM*/
//Try using :
$("[class^=info_]"); //Classes Starts with info_
$('[class*=info_]'); // Classes which contains info_
//instead of hasClass
if($('label').is('[class*=info_]')){} //Contains
//or
if($('label').is('[class^=info_]')){} //Starts with