Written by
java-style
on
on
class, data 로 text 가져오기
class, data 로 text 가져오기
cate1
cate1-1
cate2
cate2-1
call
function call()
{
$('.apm').each(function (index, item) {
apmstr = $(item).data("title");
alert("data: "+apmstr);
});
$('.apmsub.type').each(function (index, item) {
title = $(".title").eq(index).text();
alert(title);
$(item).find(".cont").each(function (index, item) {
cont = $(item).text();
alert(cont);
});
});
}
from http://jinteng2.tistory.com/50 by ccl(A) rewrite - 2021-11-09 18:02:04