게시글 본문내용
|
다음검색
The city and ZIP code do not match. ',
crdType: 'Card type is required',
crdNumbr: 'Card number is required',
plccNumbr: 'Card number is required',
ccPin: 'Security code is required - (What\'s this?)',
cardIdNum: 'Security ID# is required (What\'s this?)',
plccvnc: 'Security ID# is required (What\'s this?)',
cardExpDate: 'Expiration date is required (mm/yy)',
bmlSSN: 'Social Security number is required',
giftCardNum: 'Gift card number is required'
};
var invalid_error_strings = {
cardExpDateMo: 'Invalid Month',
cardExpDate: 'Expiration date is invalid',
bmlSSN: 'Social Security number is invalid'
};
$jQ(document).ready(function() {
$jQ(".dataRequired").blur(function() {
var elem_id = $jQ(this).attr("id");
var msg = required_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Is a required field';
else
msg += ' is a required field';
}
var obj = { elem_id: elem_id, type: 'required', message: msg };
if (this.form) {
if (this.form.id)
obj.container = 'form#' + this.form.id;
else if (this.form.name)
obj.container = 'form[name=' + this.form.name + ']';
else
obj.container = 'form';
}
validateRequired(obj);
});
$jQ("input.dataRequired:checkbox").click(function() {
var elem_id = $jQ(this).attr("id");
var msg = required_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Is a required field';
else
msg += ' is a required field';
}
var obj = { elem_id: elem_id, type: 'required', message: msg };
if (this.form) {
if (this.form.id)
obj.container = 'form#' + this.form.id;
else if (this.form.name)
obj.container = 'form[name=' + this.form.name + ']';
else
obj.container = 'form';
}
validateRequired(obj);
});
$jQ(".valAlphaNumeric").blur(function() {
var elem_id = $jQ(this).attr("id");
var msg = invalid_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Must contain only numbers and letters';
else
msg += ' must contain only numbers and letters';
}
validateRegex({ elem_id: elem_id, regex: /^[a-zA-Z0-9]*$/, message: msg });
});
$jQ(".valNumeric").blur(function() {
var elem_id = $jQ(this).attr("id");
var msg = invalid_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Must contain only numbers';
else
msg += ' must contain only numbers';
}
validateRegex({ elem_id: elem_id, regex: /^[0-9]*$/, message: msg });
});
}); //end document ready function
function throwError(id) {
hideAllErrors();
$jQ("#showError").show();
$jQ("#" + id).addClass("field_error").select().focus();
}
function hideAllErrors() {
$jQ("#showError").hide();
}
Please review or Use as entered
|
The city and ZIP code do not match. ',
crdType: 'Card type is required',
crdNumbr: 'Card number is required',
plccNumbr: 'Card number is required',
ccPin: 'Security code is required - (What\'s this?)',
cardIdNum: 'Security ID# is required (What\'s this?)',
plccvnc: 'Security ID# is required (What\'s this?)',
cardExpDate: 'Expiration date is required (mm/yy)',
bmlSSN: 'Social Security number is required',
giftCardNum: 'Gift card number is required'
};
var invalid_error_strings = {
cardExpDateMo: 'Invalid Month',
cardExpDate: 'Expiration date is invalid',
bmlSSN: 'Social Security number is invalid'
};
$jQ(document).ready(function() {
$jQ(".dataRequired").blur(function() {
var elem_id = $jQ(this).attr("id");
var msg = required_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Is a required field';
else
msg += ' is a required field';
}
var obj = { elem_id: elem_id, type: 'required', message: msg };
if (this.form) {
if (this.form.id)
obj.container = 'form#' + this.form.id;
else if (this.form.name)
obj.container = 'form[name=' + this.form.name + ']';
else
obj.container = 'form';
}
validateRequired(obj);
});
$jQ("input.dataRequired:checkbox").click(function() {
var elem_id = $jQ(this).attr("id");
var msg = required_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Is a required field';
else
msg += ' is a required field';
}
var obj = { elem_id: elem_id, type: 'required', message: msg };
if (this.form) {
if (this.form.id)
obj.container = 'form#' + this.form.id;
else if (this.form.name)
obj.container = 'form[name=' + this.form.name + ']';
else
obj.container = 'form';
}
validateRequired(obj);
});
$jQ(".valAlphaNumeric").blur(function() {
var elem_id = $jQ(this).attr("id");
var msg = invalid_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Must contain only numbers and letters';
else
msg += ' must contain only numbers and letters';
}
validateRegex({ elem_id: elem_id, regex: /^[a-zA-Z0-9]*$/, message: msg });
});
$jQ(".valNumeric").blur(function() {
var elem_id = $jQ(this).attr("id");
var msg = invalid_error_strings[elem_id];
if (!msg) {
msg = getLabel(elem_id);
if (!msg)
msg = 'Must contain only numbers';
else
msg += ' must contain only numbers';
}
validateRegex({ elem_id: elem_id, regex: /^[0-9]*$/, message: msg });
});
}); //end document ready function
function throwError(id) {
hideAllErrors();
$jQ("#showError").show();
$jQ("#" + id).addClass("field_error").select().focus();
}
function hideAllErrors() {
$jQ("#showError").hide();
}
Please review or Use as entered
|
Leaves warehouse in 1 - 2 full bus. days. - (Details) Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$29.99 | $29.99 | |||
| |||||
- Remove + Wish List |
Leaves warehouse in 1 - 2 full bus. days. - (Details) Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$27.99 | $27.99 | ||
| |||||
- Remove + Wish List |
Leaves warehouse in 2 - 4 weeks Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$26.99 | $26.99 | ||
| |||||
- Remove + Wish List |
Leaves warehouse in 1 - 2 full bus. days. - (Details) Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$19.99 | $19.99 | ||
| |||||
|
|
Leaves warehouse in 1 - 2 full bus. days. - (Details) Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$29.99 | $29.99 | |||
| |||||
- Remove + Wish List |
Leaves warehouse in 1 - 2 full bus. days. - (Details) Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$27.99 | $27.99 | ||
| |||||
- Remove + Wish List |
Leaves warehouse in 2 - 4 weeks Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$26.99 | $26.99 | ||
| |||||
- Remove + Wish List |
Leaves warehouse in 1 - 2 full bus. days. - (Details) Note: Shipping restrictions may apply. Gift wrapping available (Details) |
$19.99 | $19.99 | ||
| |||||
|
|
|
비밀글 해당 댓글은 작성자와 운영자만 볼 수 있습니다.12.04.10 18:02