File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<script type="text/javascript">
$(document).ready(function() {
});
// 배너 업데이트
function setBannerClickUpdate(mCode, bCode) {
var sParams = {
"mCode" : mCode
, "bCode" : bCode
};
$.ajax({
type : "POST",
async : false,
url : "/web/main/bannerClickUpdateAjax.do",
data : sParams,
dataType:'json',
success : function(data) {
//alert(JSON.stringify(data));
if (data.isSuccess == true) {
//
alert("OK");
}
else {
alert(data.msg);
}
},
error : function(xhr, status, error) {
alert(error);
return false;
}
});
}
</script>
</head>
<div>
<br />
<br />
<br />
<center>
<a href="#" onclick="setBannerClickUpdate('AAA','BBB');">테스트</a>
</center>
<br />
<br />
<br />
</div>