CODE
data : function(start, end, callback) {
t_start = 'need start time'; //<-problem here. What am I filled?
t_end = 'need end time'; //<-problem here. What am I filled?
t_title = 'need title'; //<-problem here. What am I filled?
t_body = 'need body'; //<-problem here. What am I filled?
$.post("weekcalendar_update.asp", {
start: start.getTime(),
end: end.getTime(),
w_body: t_body,
w_title: t_title,
n_id: id,
w_start: t_start,
w_end: t_end
},
function(result) {
if (result != null) {
// alert(result.toSource());
for (i in result) {
var calEvent = result[i];
calEvent.userId = parseInt(calEvent.userId);
}
}
var calevents = result;
callback(calevents);
}, "json");
}
I can write something to the database. but data is wrong
Please help me...thanks
CODE data : function(start, end, callback) { t_start = 'need start time'; //<-problem here. What am I filled? t_end = 'need end time'; //<-problem here. What am I filled? t_title = 'need title'; //<-problem here. What am I filled? t_body = 'need body'; //<-problem here. What am I filled?
I can write something to the database. but data is wrong Please help me...thanks