Редактирование кода:
См Результат »
Попробуй сам - ©
w3ii.com
This is a div element. My child is:
In this example, $("div").children will only return P, and not P + SPAN, because children() only traverse a single level down the DOM tree.