Jquery, How to get text in span tag using foreach
<pre><code>&lt;span class='url_link'&gt;1&lt;/span&gt;
&lt;span class='url_link'&gt;2&lt;/span&gt;
&lt;span class='url_link'&gt;3&lt;/span&gt;
&lt;span class='url_link'&gt;4&lt;/span&gt;
&lt;span class='url_link'&gt;5&lt;/span&gt;

$(".url_link").each(function(idx, obj){
        console.log(this);  // &lt;span class="url_link"&gt;
    console.log(this.text()); // TypeError: this.text is not a function
});
</code></pre>

<p>How can I grep the text in span tag?</p>
