결제페이지의 쿠폰함을 클릭하면, 팝업이 안떠요. 채택완료
따라하기
9년 전
조회 3,784
팝업으로 뜨지 않고, toggle 형태로 열렸다가 접히네요.
$("#sc_coupon_btn").click(function() {
$("#sc_coupon_frm").remove();
var $this = $(this);
var price = parseInt($("input[name=od_price]").val());
var send_cost = parseInt($("input[name=od_send_cost]").val());
$.post(
"./ordersendcostcoupon.php",
{ price: price, send_cost: send_cost },
function(data) {
$this.after(data);
}
);
});
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인