Replacing div class in SharePoint using JQuery1.4min in Content Editor
<p>Very new on how JQuery works and trying to replace the class name of a summary links div tag. </p>

<pre><code>&lt;div class="slm-layout-main groupmarker"&gt;sometext&lt;/div&gt;  
</code></pre>

<p>want to change that to </p>

<pre><code>&lt;div class="slm-layout-main groupmarker ms-rteFontSize-3"&gt;sometext&lt;/div&gt;
</code></pre>

<p>and there are multiple places for this diz tag to be replaced.</p>

<p>I tried in the ContentEditor something like this:</p>

<pre><code>&lt;script src="/sites/lrp/Shared%20Documents/jquery-1.4.2.min.js" type="text/javascript"&gt;&lt;/script&gt;&lt;script type="text/javascript"&gt;

$(".slm-layout-main groupmarker")
.removeClass("slm-layout-main groupmarker")
.addClass("slm-layout-main groupmarker ms-rteFontSize-3");
&lt;/script&gt;
</code></pre>

<p>Any help is greatly appreciated. Thanks,</p>
