https://heewon26.tistory.com/2
https://88240.tistory.com/18
$("#test").hide() - id="test"로 요소를 숨깁니다.
http://chongmoa.com/ajxa/6764
입력된 모든 Elements를 문자열의 데이터에 serialize 한다.
<script>
function formSubmit() {
var params = jQuery("#formname1").serialize(); // serialize() : 입력된 모든Element(을)를 문자열의 데이터에 serialize 한다.
jQuery.ajax({
url: '샘플ajax.php',
type: 'POST',
data:params,
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
dataType: 'html',
success: function (result) {
if (result){
// 데이타 성공일때 이벤트 작성
}
}
});
}
</script>
COUNT (*) AS CNT
https://biju.tistory.com/51