Files
KIN/ess/doc_myun_pay_print2_ajax.asp
2025-09-29 17:55:08 +09:00

43 lines
1.4 KiB
Plaintext

<!-- #include virtual = "lib/config.asp" -->
<%
Response.CharSet = "EUC-KR" 'ÇѱÛ
Dim p_child_sn : p_child_sn = Request("p_child_sn")
Dim startDT : startDT = Request("start_DT")
Dim endDT : endDT = Request("end_DT")
Dim sv : sv = Request("sv")
Dim pay_type : pay_type = Request("pay_type")
Dim cost_type : cost_type = Request("cost_type")
Dim krc_no : krc_no = Request("krc_no")
%>
<script type="text/javascript">
$(document).ready(function () {
var url = "../approval/doc_myun_pay_detail2.asp";
$.ajax({
url: url,
type: "get",
contentType: 'application/x-www-form-urlencoded; charset=euc-kr',
data:
{
"p_child_sn": "<%=p_child_sn %>",
"startDT": "<%=startDT %>",
"endDT": "<%=endDT %>",
"sv": "<%=sv %>",
"pay_type": "<%=pay_type %>",
"cost_type": "<%=cost_type %>",
"krc_no": "<%=krc_no %>"
},
success: function (response, textStatus, jqXHR) {
$(".m_detail").append(response);
},
complete: function () {
//alert("comment complete");
}, error: function (error) {
console.log(error);
alert("Web Service Error.");
}
});
});
</script>
<div class="m_detail"></div>