JQuery: Why using .find()
<p>why are some developers using JQuery's .find-function like this:</p>

<pre><code>$(document).find('.progress').show();
</code></pre>

<p>If you know the name of the class, you can just use:</p>

<pre><code>$('.progress').show();
</code></pre>

<p>Even if i have ul-lists and want to select all li-children i can do this just with</p>

<pre><code>$('li')...
</code></pre>

<p>Appreciate some clarity...Thanks!</p>
