jui widget event in options

please consider this









	        'options' => array(







according to the http://jqueryui.com/demos/datepicker/#event-create create is an event of datepicker

but it does not work.

can anybody help me on this issue?


As the documentation say

Supply a callback function to handle the create event as an init option.  $( ".selector" ).datepicker({    create: function(event, ui) { ... } });

try with

'create'=>'js:function(){ console.log("test"); }',

PS. console.log(); do not work on ie until you press f12