#6935 closed bug (duplicate)
Datepicker create event not being executed like other events.
Reported by: | delwyn | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.9 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi
The Datepicker does not seem to execute the create event as specified in the demo: $( ".selector" ).datepicker({
create: function(event, ui) { ... }
});
It works with all other events listed there.
Thanks
Change History (9)
comment:1 follow-up: 2 Changed 12 years ago by
comment:2 Changed 12 years ago by
Status: | new → open |
---|
Replying to suner:
I think I see the same issue using jQuery 1.4.4 and jQueryUI 1.7.3.
The create event didn't exist in any widget in 1.7.3.
comment:3 Changed 12 years ago by
Nope, I see this exact same behavior as well. Using jquery 1.5.1 and jquery-ui 1.8.10.
comment:4 Changed 12 years ago by
This is easy to reproduce:
1) Go to http://jqueryui.com/demos/datepicker/ 2) enter the following into firebug:
$('#datepicker').datepicker("destroy");
$('#datepicker').datepicker({
create: function(a,b) {
console.log("create");
}, onSelect: function(a,b) {
console.log("onSelect");
}, onClose: function(a,b) {
console.log("onClose");
}
});
"create" never gets logged.
comment:5 Changed 12 years ago by
I'm experiencing the same issue; here I was able to reproduce it using jQuery 1.7.1 and jQueryUI 1.8.16: http://jsfiddle.net/jgarrido/u5rfc/
comment:6 Changed 11 years ago by
Still existing in 1.8.18. Why on earth is this not fixed yet?
comment:7 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | open → closed |
I think I see the same issue using jQuery 1.4.4 and jQueryUI 1.7.3.