class attribute with css in jquery
<p>I need jquery function do this: </p>

<p>First:</p>

<pre><code>&lt;a class="MyClass1 Myclass2 {padding-top:10px;height:20px;}"&gt;&lt;/a&gt;
</code></pre>

<p>After calling function:</p>

<pre><code>&lt;a class="MyClass1 Myclass2" style="padding-top:10px;height:20px;"&gt;&lt;a/&gt;
</code></pre>

<p>Function must work with all elements</p>

<p><strong>Edit</strong></p>

<p>For example: i'm using on the asp.net mvc. Every Module contains different theme properties. This code is Module <code>partial view</code> section.</p>

<pre><code>&lt;div class="&lt;%=Model.Theme.HeaderClass%&gt;"&gt;...content goes here
&lt;/div&gt;
&lt;div class="&lt;%=Model.Theme.BodyClass%&gt;"&gt;...content goes here&lt;/div&gt;
&lt;div class="&lt;%=Model.Theme.PagerClass%&gt;"&gt;
&lt;a class="&lt;%=Model.Theme.PagerItemClass%&gt;"&gt; &lt;/a&gt;
&lt;/div&gt;
</code></pre>
