Using javascript "this" for jquery selector
<p>In this code, we can obtain value of element id as 2 differnt way and both way return resultat</p>

<pre><code>$("#my_div").on("click", function () {
    alert( $(this).attr("id") );

    alert( this.id );
});
</code></pre>

<p>But i interest, second way, is it proper in this case? I ask this, because in code we use jquery selector  and for jquery selector, write clear javascript: <strong>this</strong> is justified and will it work always? or may be better use jquery  <strong>$(this)</strong> for jquery selector? or not differnce?</p>
