CJuiInputWidget (date picker) mozilla firefox issues

Hey Guys?

I’m having an issue with the CJuiInputWidget date picker which is an inbuilt widget in yii. Located in zii.widgets.jui.CJuiInputWidget. The button is visible on chrome an working well as seen in one of the diagrams.

The other diagram that does not display the calendar-button is the case on firefox…

When I see the firebug console errors… I get this

  jQuery("#fromDate").datepicker is not a function

Below is the code snippet for the datepicker

  <?php


            $this->widget('zii.widgets.jui.CJuiDatePicker', array(


                'name' => 'fromDate',


                'options' => array(


                    'buttonImage' => Yii::app()->request->baseUrl . '/images/calendar.gif',


                    'buttonImageOnly' => true,


                    'showAnim' => 'fold', // 'show' (the default), 'slideDown', 'fadeIn', 'fold'


                    'showOn' => 'button', // 'focus', 'button', 'both'


                    'dateonly'=>'true',


                    'dateFormat' => 'yy-mm-dd',


                ),


                'htmlOptions' => array(


                    'style' => 'width:80px;vertical-align:center;horizontal-align:center;'


                ),


            ));


            ?>

would someone please help me with this issue.

Regards,

Kevin.

I just threw that code into my project and it worked just fine in Firefox. What version of FF are you using?

Hi Beebe

I solved the Issue… there was some js conflicts between my widget and my theme files. Thanks for you response and time.

I had also tried it in my project, everything ran very smoothly. Could you please let me know in little brief what sorts of conflict were you getting?

Thanks!

Hi Kevin,

I’ve the same issues. what is the solution?. I can’t figure out…

Thanks & Regards,

Jeni