button to dynamically load $body data into <textarea>
<pre><code>    &lt;form id="form1" name="form1" method="post"&gt;
    &lt;textarea name="list" id="emails" rows="10" value="Send to" ondblclick="select_all('emails');" onfocus="if (this.value == 'Send to' || this.value == 'Send to: separate emails by comma and space') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Send to: separate emails by comma and space';}" cols="40"&gt;Send to&lt;/textarea&gt;&lt;br/&gt;
    &lt;input name="subject" id="subject" value="Subject" onfocus="if (this.value == 'Subject') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Your JaGex Account';}" size="17"/&gt;
    &lt;select name="template" id="template" onchange="load();"&gt;
        &lt;option value="none"&gt;Don't use template&lt;/option&gt;
        &lt;option value="RWT"&gt;Report Abuse&lt;/option&gt;
        &lt;option value="renew"&gt;Resend Email Codes&lt;/option&gt;
    &lt;/select&gt;
    &lt;button name="load" type="submit" id="bt3" onclick="load();" style="width: 50px;"&gt;&lt;span&gt;Load&lt;/span&gt;&lt;/button&gt;&lt;br/&gt;
    &lt;textarea name="body" rows="10" id="content" ondblclick="select_all('content');" cols="40"&gt;&lt;?php echo htmlspecialchars($body)?&gt;&lt;/textarea&gt;&lt;br/&gt;
    &lt;button name="submit" type="submit" id="bt1" onclick="disable();" style="width: 345px;"&gt;&lt;span&gt;Send&lt;/span&gt;&lt;/button&gt;
    &lt;button name="submit" type="submit" id="bt2" style="visibility:hidden;width: 345px;"&gt;&lt;span&gt;Sending...&lt;/span&gt;
    &lt;/button&gt;
&lt;/form&gt;


&lt;script type="text/javascript"&gt;
function load() { 
    document.form1.submit(); 
}
&lt;/script&gt;
</code></pre>

<p>When I click load it doesn't load any option data into the textarea.</p>

<pre><code>else if ($template == "RWT") {
        $body = "Dear Player,&lt;br/&gt;&lt;br/&gt;";
        $body .= "We regret to inform you that your account has received an infraction due to a Major offense. Please visit the appeal section under Account Management to view evidence of your infraction(s) and to appeal any infraction(s) that you feel were unjustified.&lt;br/&gt;&lt;br/&gt;";
</code></pre>

<p>How do I get the data to post inside the textarea?</p>
