Need help understanding how to use setContent() function in TinyMCE
<p>I am passing text from page 1 to page 2 using LocalStorage. Page2 textarea uses TinyMCE editor. I found this function on the Tiny site which I think is designed for that purpose. However I am new to Javascript and can't make it work. Any help ? </p>

<p><a href="http://archive.tinymce.com/wiki.php/API3:method.tinymce.Editor.setContent" rel="nofollow">TinyMCE page and function:</a></p>

<p>My Html: </p>

<pre><code>&lt;div class=" form-group"&gt;
        &lt;div class="col-sm-2 col-md-2"&gt;&lt;label for="work"&gt;Scope of Work:&lt;/label&gt;&lt;/div&gt;
        &lt;div class="col-sm-10 col-md-10"&gt;&lt;textarea id="wo_scope" class="form-control tinymce " rows="5" placeholder="Required / Maximum 500 characters" name="work" cols="50"&gt;&lt;/textarea&gt;&lt;/div&gt;
    &lt;/div&gt;
</code></pre>