我认为这里有一个部分网址,但无法阅读。即
我有www.website.com /
需要下一部分
$j('.get-code').live('click', function() {
linkId = $j(this).attr("id");
codeId = linkId.replace("get-code-day-", "");
voucherCode = $j("#voucher-code-day-" + codeId).val();
$j.post("/promotions/ajax/add-user-voucher", {
voucherCode: voucherCode
}, function(xml) {
if ($j("status", xml).text() == "1") {
// do something on success
} else {
showUIDialog("<p>A problem occurred: " + $j("error", xml).text() + "</p>");
}
return false;
});