how to reset the control values inside the modal pop up using Javascript or Jquery?
<pre><code>&lt;cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BehaviorID="popup" TargetControlID="cmdTrigger" 
            PopupControlID="pnlPopup" BackgroundCssClass="modalBackground"
            OkControlID="btnOk" &gt;
    &lt;/cc1:ModalPopupExtender&gt;  
    &lt;asp:Panel ID="pnlPopup" runat="server" CssClass="modalpopup" Style="display: none"&gt;
        &lt;div class="container"&gt;
            &lt;div class="header"&gt;
                &lt;asp:Label ID="Label1" runat="server" CssClass="msg" Text="Add a new Entry" /&gt;
                &lt;asp:LinkButton ID="LinkButton1" runat="server" CssClass="close" OnClientClick="$find('popup').hide(); return false;" /&gt;
            &lt;/div&gt;
            &lt;div class="body"&gt;
                &lt;asp:Label ID="Label2" runat="server" CssClass="msg" Text="Name" /&gt;
                &lt;asp:TextBox ID="txtName" runat="server" Width="346px"&gt;&lt;/asp:TextBox&gt;
                &lt;/div&gt;
            &lt;div class="footer"&gt;
                &lt;asp:Button ID="btnOk" runat="server" Text="Save" Width="48px"   /&gt;
                &lt;asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="50px" OnClientClick="$find('popup').hide(); return false;" /&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/asp:Panel&gt;
</code></pre>

<p>This is my code. Once I have  written  some thing in textbox  and I click the cancel  button, by which the pop up window  will  close.
If I try to open the pop up window  again, the textbox will still hold its previous entered value.  so is there any  way I can clear the  value which I have  entered in the textbox,  using Javascript, jQuery.  I don't want to use a  server  side  event  for this  which will  do a post back event so
what are my options?</p>
