return
{options: {
date: getDate(),
function
getDate(){
$.ajax({type:
"GET",async:
false,url:
"/sandstorm/getServerTimeForCalender",dataType:
"json",success:
function(data) {alert(data);
},});
}
However the javascript code halts on following line
Please help
TypeError: date is undefinedI ger the error: date is undefined
Please help