Print Page | Close Window

Trouble repopulating textarea

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=20238
Printed Date: 29 March 2026 at 12:51am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Trouble repopulating textarea
Posted By: Callaway
Subject: Trouble repopulating textarea
Date Posted: 09 June 2006 at 7:12am
Above the RTE, I have a simple select box.  When an option is selected, the form is submitted.  When the form is submitted using this, the RTE never repopulates. But, if I use the submit button, the RTE repopulates correctly.  Have any idea why this is?

<%
sTextarea=Request.Form("textarea")
%>

<select size="1" name="customer" onChange="this.form.submit()">
<option selected value="0">Select</option>
<option value='1'>1</option>
</select>


<textarea name="textarea" cols="80" rows="15" id="myTextarea"><%=sTextArea%></textarea>






Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 June 2006 at 8:49am
The javascript used in the RTE listens for the submit button being clicked, trying to use a different method maybe complicated and require messing with the javascript to get it to work.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net