}).delegate(".c", "click", function (e) {
e.preventDefault();
$(".c").removeClass('active');
var date=$(this).attr('date-id');
$("#date").val(date);
$(this).addClass('active');
var frm = $("#gz-appontment-index-frm-id");
$.ajax({
type: "POST",
data: frm.serialize(),
url: gz_appontment_install_folder + "load.php?controller=GzFront&action=booking_Time",
success: function (res) {
$('#gz-appontment-main-container').html(res);
$(this).addClass('active');//这个是样式
}
}); |