Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-09-2011, 02:36 AM   PM User | #1
rupert
New Coder

 
Join Date: May 2011
Posts: 17
Thanks: 4
Thanked 0 Times in 0 Posts
rupert is an unknown quantity at this point
Angry the jqueryui datepicker “create” of event don't work

In my project which uses with jQueryUI's datepicker of plugins,

but in this code,the "create" event never fires,

you can check the documentation in official site :http://jqueryui.com/demos/datepicker...on-showOptions

Code:
  $('#datepicker').datepicker({
                        create: function(event, ui) {
                                                    alert("ppp");
                                                }
                  });
rupert is offline   Reply With Quote
Old 12-09-2011, 10:35 AM   PM User | #2
Arnaud
Regular Coder

 
Join Date: Jan 2008
Location: Geneva, Switzerland
Posts: 413
Thanks: 12
Thanked 29 Times in 29 Posts
Arnaud is on a distinguished road
It's a bug.

http://bugs.jqueryui.com/ticket/6935

It seems that datepicker doesn't use the widget factory, hence the bug. There is a refactor here if you really need that functionality: https://github.com/kbwood/jquery-ui
__________________
Chuck Norris counted to infinity.
Twice.
Arnaud is offline   Reply With Quote
Reply

Bookmarks

Tags
create, event, jquery, jqueryui

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:33 AM.


Advertisement
Log in to turn off these ads.