I am trying to add a datepicker to my Zend_Form. This works all right, but only if I don't add a stylesheet to the jQuery object. If I add a stylesheet, the datepicker just stops working. Here is my bootstrap:
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initViewHelpers()
{
$this->bootstrap('view');
$view = $this->getResource('view');
$view->addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper");
$view->jQuery()->uiEnable();
$view->jQuery()->addStylesheet('/backoffice/css/jquery.css');
}
}
?>
I know the stylesheet is applied, because there are some warnings from Firefox about the zoom and the filter property. There are no javascript errors however, but it has just stopped working. The javascript code is generated okay, and the proper files are included. I'm completely dumb-struck, could someone please help? Thanks in advance!