//add the form selector id name to the discount code form error URL with xxjavascript so we can use the validator to report errors on the cart page
(function(){
var discountCodeErrorURLinput = $('input[name="coup[안내]태그제한으로등록되지않습니다-xxonErrorURL"]'),
discountCodeErrorURL = discountCodeErrorURLinput.attr('value');
//"validationFormSelector=%23discountCodeForm" is the form name (validationFormSelector) and form id (#discountCodeForm) needed so the validator object can attach
//the tooltip to the discount code form input
if ((discountCodeErrorURL.indexOf("?")) >= 0)
{
discountCodeErrorURL = discountCodeErrorURL + "&validationFormSelector=%23discountCodeForm";
}
else {
discountCodeErrorURL = discountCodeErrorURL + "?validationFormSelector=%23discountCodeForm";
}
discountCodeErrorURLinput.attr('value', discountCodeErrorURL);
})();
첫댓글 102.57*1200+진2000=125084원입니다^^