jquery를 사용하여 일부 컨트롤을 숨기거나 표시하려고합니다. 그러나 파일 업로드 프로그램 제어를 제외하고는 다른 모든 컨트롤이 제대로 작동합니다. 파일 업로드 관리자 컨트롤을 숨기는 방법?jquery를 사용하여 FileUploader 컨트롤을 표시하거나 숨기는 방법?
내 소스 코드가,
<tr>
<td align="left" class="style2">
<asp:Label ID="lb12" runat="server" Text="CTC3"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtctc2" runat="server" ClientIDMode="Static" TextMode="SingleLine"></asp:TextBox>
</td>
</tr>
<tr>
<td align="left" class="style2">
<asp:Label ID="lb21" runat="server" Text="Certificate II"></asp:Label>
</td>
<td align="left">
<asp:FileUpload ID="FileUpload3" ClientIDMode="Static" runat="server" />
</td>
</tr>
내 JQuery와는,
$(window).load(function() {
$('#<%= txtctc3.ClientID %>').hide();
$('#<%= FileUpload3.ClientID %>').hide();
});
텍스트 상자가 때 페이지 loade을 숨 깁니다하지만 가죽은 fileuploade를 제어. 제발 도와주세요
어떻게 파일 제어 아래에 숨기시겠습니까?
<input type="file" id="files" name="files[]" multiple />
Amit, 고마워요. –
환영합니다 @DwaneMarsh – Amit