Я пробовал:
Код: Выделить всё
$('meta[name=sun]').each(function(){
var metacontent = $(this).attr("content");
var list = ["a","b","c"];
if(metacontent.match(list)) { //that is wrong I guess
console.log("hi");
}
});
Подробнее здесь: https://stackoverflow.com/questions/150 ... ith-jquery
Мобильная версия