How to change a colour of a word in jquery
<p>How would i be able to select  a word and change the colour of that one word?</p>

<p>e.g. add a span with style and chage the font colour.</p>

<p>Can someone lead me down the right path please.</p>

<p><strong>Jquery</strong></p>

<pre><code> function edit_addon (div_id) {    
    $("#"+div_id).attr ('contentEditable', true)
             .css ('color','#F00') 
             .css ('cursor','Text') 
             ; 

 } 
</code></pre>

<p><strong>HTML</strong></p>

<pre><code> &lt;div id="34" ondblclick="javascript:edit_addon(34)"&gt;Editable Text&lt;/div&gt;
</code></pre>

<p>Thank you,</p>
