I have:

```
// $(this): <span class="class1"><span class="class2"></span> Some text</span>
$(this).children().each(function () {
    console.log(this);
});

```

from the console I got only the span with class2, How I can get also the text? something like:

```
['<span class="class2"></span>', 'Some text']

```