Home >Web Front-end >HTML Tutorial >TypeError: element.children is not a function_html/css_WEB-ITnose

TypeError: element.children is not a function_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:56:291638browse

$('.top-droppable').each(function(i,element){
alert(element.children("span").text());
})


回复讨论(解决方案)

$(element).children

谢谢啦,非常感谢!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn