How to run validator from javascript?
<p>Here is a part of my code:</p>

<pre><code>&lt;asp:ListBox ID="lbRD" runat="server" DataSourceID="RDSqlDataSource" onchange="JSFillDetail();" DataTextField="Описание" DataValueField="ID" Width="188px" Height="200px"/&gt;

&lt;asp:TextBox ID="txtDescription" runat="server" /&gt;

&lt;asp:RequiredFieldValidator ID="txtDescriptionRequiredFieldValidator" runat="server" ErrorMessage="Описание является обязательным для заполнения" ControlToValidate="txtDescription" /&gt;
</code></pre>

<p>I have a listbox, a textbox and a required field validator on my page. When the user selects something from the listbox, the selected item appears in the textbox using a javascript function. When the page is submitted, the validator reports an error in case the textbox is empty. If after that the user selects something from the listbox, the error message is still displayed, even though the textbox is not empty anymore. How can I make the validator validate the textbox, or even better, to clear the error message from the javascript function that fills the textbox?
Thanks, David</p>
