미채택 완료
결제페이지의 쿠폰함을 클릭하면, 팝업이 안떠요.
팝업으로 뜨지 않고, 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개
답변을 작성하려면 로그인이 필요합니다.