1/*SM*/
2
3//Try using :
4$("[class^=info_]"); //Classes Starts with info_
5$('[class*=info_]'); // Classes which contains info_
6
7//instead of hasClass
8if($('label').is('[class*=info_]')){} //Contains
9//or
10 if($('label').is('[class^=info_]')){} //Starts with