get classname jquery
<p>I have the following html</p>

<pre><code>&lt;div class="static dynamic1 dynamic2 prop"&gt;Hello SO&lt;/div&gt; 
</code></pre>

<p>I need to get <code>dynamic1</code> and <code>dynamic2</code> (get classname that which begins with <code>dynamic</code>)</p>

<p>Thanks.</p>
