Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用jQuery将asp:占位符visible设置为true_Jquery_Asp.net - Fatal编程技术网

使用jQuery将asp:占位符visible设置为true

使用jQuery将asp:占位符visible设置为true,jquery,asp.net,Jquery,Asp.net,有人知道如何使用jQuery将可见的asp:PlaceHolder从false设置为true 我有以下代码来隐藏表: <asp:PlaceHolder ID="plhSignatureProcess" runat="server" Visible="false"> <div class="cl_interactions"> <h1><asp:Label runat="server" ID="lblSignatureProcess" Text="

有人知道如何使用jQuery将可见的
asp:PlaceHolder
false
设置为
true

我有以下代码来隐藏表:

<asp:PlaceHolder ID="plhSignatureProcess" runat="server" Visible="false">

  <div class="cl_interactions">
  <h1><asp:Label runat="server" ID="lblSignatureProcess" Text="" /></h1>
    <table border="0" class="cl_form_table" >

      <tr>
        <th valign="top" width="85"><span style="color:Red;">*</span>Signature Process Opt In?</th>
        <td>
          <span style="color:Gray;font-size:12px;">Yes</span><asp:RadioButton runat="server" ID="btnOptInYes" CssClass="btnOptInYes"/>
          <span style="color:Gray;font-size:12px;">No</span><asp:RadioButton runat="server" ID="btnOptInNo" CssClass="btnOptInNo"/><span id="opt_err" style="color:Red;font-size:10px;display:none;"> required</span>
        </td>
      </tr>
      <tr>
        <th valign="top" width="85">Signature followup date</th>      
        <td><asp:TextBox runat="server" ID="dtSignatureFollowUp" Text=""/><span id="dtSignatureFollowUp_err" style="color:Red;font-size:10px;display:none;"></span><br/><span class="info">(Date format: dd/mm/yyyy)</span></td>
      </tr>
      <tr>
        <th valign="top" width="85">Signature priority customer</th>      
        <td><asp:CheckBox runat="server" ID="chkSignaturePriority"/></td>
      </tr>

    </table>
  </div>
</asp:PlaceHolder>

*签名过程选择加入?
对
不需要
签署跟进日期

(日期格式:dd/mm/yyyy) 签名优先客户

是否可以通过使用jquery查看此asp:PlaceHolder?

asp.NET占位符根本不呈现任何HTML,它纯粹用于包含其他控件。如果要使用jQuery显示或隐藏容器类型控件,请使用DIV(或ASP.NET面板)或其他容器


另外,请记住,该ID将由框架扩展——因此您需要在jQuery中使用类选择器,或者将
ClientIDMode
设置为
Static

否,asp.net控件上的visible=false意味着占位符的标记不会在客户端上呈现