http://www.electroniccigarettesinc.com/
age
这里有个年龄限制跳转的效果,确定大于十八岁后便不再出现这个弹窗,这是怎么实现的呢?
function ageNotMatch(){
location.href='http://www.google.com/';
}
function callAgeMatch(form) {
$('#button_submit').css('opacity', '.4');
var dataString = 'ageaccepted=yes';
$.ajax({
type: "POST",
url: "age_confirm_hander.php", //这里的ajax跳转不明白
data: dataString,
success: function(response) {
}
});
$.fn.colorbox.close();
}
age
这里有个年龄限制跳转的效果,确定大于十八岁后便不再出现这个弹窗,这是怎么实现的呢?
function ageNotMatch(){
location.href='http://www.google.com/';
}
function callAgeMatch(form) {
$('#button_submit').css('opacity', '.4');
var dataString = 'ageaccepted=yes';
$.ajax({
type: "POST",
url: "age_confirm_hander.php", //这里的ajax跳转不明白
data: dataString,
success: function(response) {
}
});
$.fn.colorbox.close();
}