title: Redactor wysiwyg : how to set initial content for the textarea from server side itself?
body: <p>When the user logs in, and is taken to the main page - that user might have multiple redactor editors on his page.    </p>
  
  <p>Since I'm generating the page on the server I want to populate each of editors with data the user had saved earlier.    </p>
  
  <p>Hence, the question is : </p>
  
  <blockquote>
    <p>How do I populate these editors from server side itself ?</p>
  </blockquote>
  
  <p>I tried to set the <strong>value</strong> attribute of the textarea, but that didn't work.</p>
  
  <p>My php code is simple :</p>
  
  <pre><code>&lt;?php
     echo '&lt;textarea id="editor_" ' + $user_id + ' class='editor' value="'+$savedContent+'"&gt;&lt;/textarea&gt;';
  ?&gt;
  </code></pre>
  
  <p>My javascript code is pretty simple :</p>
  
  <pre><code>$(document).ready(function(){
      $(".editor").redactor();
  });
  </code></pre>
  
  <p>Hence when the page is loaded, all the textareas with "<strong>editor</strong>" as a class turn into redactor editors.   </p>
  
  <p>As you see above, each of the editors has a unique "<strong>user_id</strong>" attached to them.   </p>
  
  <p>In my php how should I generate the textarea, so when the javascript runs, all of them are populated.</p>