title: Initialize TinyMCE with JQuery
body: <p>I'm trying to initialize TinyMCE with JQuery for a specific class of textarea called "tinymce". </p>
  
  <p>Moxiecode has a wiki of how to do this: <a href="http://tinymce.moxiecode.com/wiki.php/jQuery_Plugin" rel="nofollow">http://tinymce.moxiecode.com/wiki.php/jQuery_Plugin</a></p>
  
  <p>Unfortunately, when I try to implement it, it doesn't work. I've downloaded the JQuery version of TinyMCE and I'm quite sure the URL I specified is right.</p>
  
  <p>Please find my code below: </p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;  
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;title&gt;TestB&lt;/title&gt;
  
  &lt;script type="text/javascript" src="jscripts/jquery-1.5.1.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="jscripts/tinymce_3.4.1_jquery/tinymce/jscripts/tiny_mce/tiny_mce.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  
  $(document).ready(function() {  // I also tried $().ready(function() 
     $('textarea.tinymce').tinymce({  
        script_url : 'jscripts/tinymce_3.4.1_jquery/tinymce/jscripts/tiny_mce/tiny_mce.js',  
        theme : "advanced"
     });  
  });  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;textarea class="tinymce"&gt;&lt;/textarea&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>