Triggering jQuery's change event manually, when jscalendar updates

This commit is contained in:
Ralf Becker 2010-06-25 11:17:28 +00:00
parent 008be66608
commit 491f790a3b

View File

@ -145,7 +145,8 @@ class jscalendar
'Calendar.setup(
{
inputField : "'.$name.'",'.(!$useicon ? '' : '
button : "'.$name.'-trigger"').'
button : "'.$name.'-trigger"').',
onUpdate : function(){var input = document.getElementById("'.$name.'"); $(input).change(); }
}
);
</script>