Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2011
    Posts
    17
    Thanks
    4
    Thanked 0 Times in 0 Posts

    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");
                                                    }
                      });

  • #2
    Regular Coder
    Join Date
    Jan 2008
    Location
    Geneva, Switzerland
    Posts
    413
    Thanks
    12
    Thanked 29 Times in 29 Posts
    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.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •