コードに次の DOM 要素があるとします。
<div id="test">
<div id="t2">
Hi I am
<b>Gopi</b>
and am 20 years old.
<p id="div2">
<button onclick="alert('lol')">Check</button>
</p>
</div>
</div>
div#t2 の内容をトラバースしたいとします。
$("#t2").children()
<b>
と<p>
タグをくれます。
では、" "、" "、" "、"を含む配列として値を取得するには、どのようHi I am
<b>....</b>
and am 20 years old.
<p>.....</p>
にアクセスすればよいでしょうか??