title: Javascript set value of TextBox with HTMLEditorExtender
body: <p>I've got an asp.net text box (ID = "HTMLTextBox_Comments") with an HTMLEditorExtender:</p>
  
  <pre><code>&lt;asp:TextBox ID="HTMLTextBox_Comments" runat="server" Height="200px" Rows="5" 
          TextMode="MultiLine" Width="469px"&gt;&lt;/asp:TextBox&gt;
  &lt;ajaxToolkit:HtmlEditorExtender ID="HTMLTextBox_Comments_HtmlEditorExtender" 
          runat="server" Enabled="True" TargetControlID="HTMLTextBox_Comments"&gt;
  &lt;/ajaxToolkit:HtmlEditorExtender&gt;
  </code></pre>
  
  <p>I'm setting the value of the text box with javascript like this:</p>
  
  <pre><code>var MyControl = document.getElementById("MainContent_HTMLTextBox_Comments"); //this gets the control just fine
  MyControl.value = "Here's some text";
  </code></pre>
  
  <p>If I have an alert show me the value, then it displays "Here's some text", but that text is not displayed in the TextBox itself.</p>
  
  <p>I've also tried setting <code>MyControl.innerHTML</code> and <code>MyControl.text</code> but neither of those seem to work either.</p>
  
  <p>How can I display the value of the TextBox in the TextBox?</p>
  
  <p>Thanks in advance!</p>
  
  <p><strong>EDIT</strong>
  I found <a href="https://stackoverflow.com/questions/12076421/get-the-value-of-an-asp-textbox-element-with-an-htmleditorextendor-attached-usi">this post</a> that seems to indicate that .value is what I'm supposed to use to set the text of this TextBox, but it just isn't showing up. What am I missing?</p>