src/DatePicker.php
protected function registerClientScript()
    {
        $view = $this->getView();

        DatePickerAsset::register($view);
        JuiAsset::register($view);

        $id = $this->options['id'];
        $options = Json::encode($this->clientOptions);
        $view->registerJs("jQuery('#$id').progressiveDatePicker('{$this->options['formattedValue']}', $options);");
    }
protected function registerClientScript()
    {
        $view = $this->getView();

        DatePickerAsset::register($view);
        JuiAsset::register($view);

        $id = $this->options['id'];
        $options = Json::encode($this->clientOptions);
        $view->registerJs("jQuery('#$id').progressiveDatePicker('{$this->options['formattedValue']}', $options);");
    }
Registers wysihtml5 plugin and the related events