Append data to css class - jQuery string operation
<p>Please take a look at the following html.
 EDIT: UPDATED THE HTML PART</p>

<pre><code>&lt;div id="html_editor"&gt;

      &lt;head&gt;
       &lt;style type="text/css" &gt;
          .blog
          {
           border:2px solid grey;
           width:auto;

          }
          &lt;style&gt;{customcss}&lt;/style&gt;
        &lt;/style&gt;
        &lt;/head&gt;
        &lt;/html&gt;
&lt;/div&gt;
</code></pre>

<p>Please take a look at the Css Class 'blog',i want to add some other values to that class through js/jQuery.
Actually it is a HTML editor ,on the body tag user selecting a the 'blog' element,so that time i want to give the user to set CSS for the blog,user changing the CSS on a text area,after that i want to append/rewrite the data to that 'blog' class.</p>

<p>Ex : user setting the class like the following</p>

<pre><code>width:250px;
background:red;
key:value..etc..
</code></pre>

<p>so after that i want to change that 'blog' css class to </p>

<pre><code>.blog
          {
          width:250px;
    background:red;
    key:value..etc..

          }
</code></pre>

<p>How can i achieve this ? is there any way by using jQuery ??</p>

<p>UPDATE : Please check this image.</p>

<p><img src="http://i.stack.imgur.com/RinCV.jpg" alt="http://imgur.com/10JuB"></p>

<p>Thank you.</p>
