票人情報
$(function(){
$("#tjzf").click(function(){
var tickets_no = $("#ppl").val();
var tickets_name = $("#ojq").val();
var tickets_num = $("#ops").val();
var tickets_price = $("#ozj").val();
var in_time = $("#oqp").val();
var name = $("#title").val();
var idno = $("#body").val();
var phone = $("#otel").val();
var cardata = {'tickets_no':tickets_no,'tickets_name':tickets_name,'tickets_num':tickets_num,'tickets_price':tickets_price,'in_time':in_time,'name':name,'idno':idno,'phone':phone};
$.ajax({
url: "huishan/web/webindex/createorder",
type: "post",
data: cardata,
dataType: 'json',
success: function (data) {
if(data.error==0){
alert('');
window.location.reload();
}else{
alert('User not logged in!');
}
}
});
})
});