sunnycoding
2013-03-07
ASP.NET에서 select 초기화 하는 방법
<td>
<
select
id="
cmbTestItemGroup
" style="width:200px;" runat="server">
<option value="
0
">===== 선택하세요 =====</option>
</select>
</td>
자바스크립트 엑션 함수 맨 마지막에
cmbTestItemGroup
.selectedIndex = 0;
이렇게 초기화 시키면 된다.
댓글 없음:
댓글 쓰기
최근 게시물
이전 게시물
홈
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기