"rel"속성이있는 페이지와 "no"값이있는 모든 앵커 요소를 가져오고 싶습니다.jquery를 사용하여 rel = "no"인 모든 앵커를 얻는 방법
jQuery를 사용하여 어떻게하면됩니까?
나는이 쉽게 수행 할 수 있습니다 찾기 방법
var list = [];
$(parentElement).find('[rel]').each(function(index){
if (this.attr("rel")) list.push(this);
});
를 사용하여 뭔가를 시도했습니다?
대기를 원이다'rel' 또는 앵커의 내용에 "아니오"값? – Joseph
rel의 값 – ThdK