Редактирование кода:
См Результат »
Попробуй сам - ©
w3ii.com
What will $("div span") select?
This div element has two descendants, p and span:
This is a paragraph.
This is a text inside a span.
This div element has also two descendants, p and span:
This is a paragraph.
This is a span element, inside the paragraph.