datepicker late binding
datepicker late binding
Hi,
with dialog, autocomplete, etc, i can do late binding on the object, but for datepicker, this seems to be missing:
- <input type="text" id="test" />
- <script type="text/javascript">
- $("#test").datepicker({beforeShowDay:function(date){return[false,'']}}); // works fine
- </script>
- <input type="text" id="test2" />
- <script type="text/javascript">
- $("#test2").datepicker().bind('beforeShowDay',function(date){return[false,'']}); // doesn't work
- </script>
How do I do this so that it will work? I need to use late binding