Adding a stylesheet to ZendX_JQuery disables jQuery?

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: 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!

以上就是Adding a stylesheet to ZendX_JQuery disables jQuery?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏