
Untitled
By: a guest on
Apr 30th, 2012 | syntax:
None | size: 0.52 KB | hits: 31 | expires: Never
Blackberry WebWorks UI - why is callback not invoked?
function onDateTimeSelected(datetime){
localStorage.setItem('countup_date', datetime);
}
function dateTimeAsync(htmlDateTimeInput) {
try {
var opts = { "value" : htmlDateTimeInput.value,
"min" : htmlDateTimeInput.min || "",
"max" : htmlDateTimeInput.max || "",
};
blackberry.ui.dialog.dateTimeAsync("date", opts, window.onDateTimeSelected);
}catch (e) {
alert("Exception in dateTimeAsync: " + e);
}
}