$("#ID").val();
$("#ID").val("값");
$("#ID").focus();
var seq = $("#ID").attr("SEQ"); // 속성 값 가져오기
$("#ID").click(function(){
}
$(".list-item").click(function(){ // tr class name : list-item (게시판 글 클릭)
}
var frmObj = document.frmThis;
$("#frmThis").attr("action", "<c:url value='/xxxx.do'/>");
$("#frmThis").submit();
<form id="frmThis" method="post">
<input type="hidden" id="hidPage" name="page" value="">
</form>
****** combo ******
$("#cmb_CODE").val("2");
$("select[name=cmb_CODE]").attr("disabled","disabled");
****** radio ******
$("input:radio[name='rdo_TYPE']:checked").val()
'jQuery' 카테고리의 다른 글
ajax 한글 깨짐 문제 (0) | 2017.09.19 |
---|---|
첨부파일 Image View (1) | 2017.06.23 |