Using qTip extension

Hello, I’m using qtip extension in my form like this:


<?php echo $form->textField($model, 'name', array('size' => 60, 'maxlength' => 65, 'title'=>'Your project name. Please do not use names like: "best project ever", "come see this" and similar.')); ?>

by making title attribute appear as a qtip, this line should be added to make title appear as a qtip:


QTip::qtip('.row input[title]', $opts);

However, in my form i have other input types, such as kricheditor, datatime picker, google maps etc…

kricheditor:




Yii::import('ext.krichtexteditor.KRichTextEditor'); //KRICH TEXT EDITOR

            $pg = $this->widget('KRichTextEditor', array(

                //'title'=> 'Use this text box to enter deatailed information about your project. This description will show in your project page when user comes to take a look at it. HTML works too!',

                'model' => $model,

                'value' => $model->isNewRecord ? $model->long_description : '',

                'attribute' => 'long_description',

                'options' => array(

                    'theme_advanced_resizing' => false,

                    'theme_advanced_statusbar_location' => 'none',

                    'width' => 620,

                    'height' => 500,

                ),

            ));



datetime picker:




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

                    'model' => $deadline,

                    'attribute' => 'end_time',

                    'flat' => true,

					'htmlOptions' => array(

                        'value' => date('Y-m-d'), // set the default date here

						//'value' => $newdate,

                    ),

                ));



dropdown list:




echo CHtml::activeDropDownList($model, 'idcategory', $list, array('empty' => '(Select a category)', 'title'=>'testtesttest'));



Everything works nice for input types, but how can I add qtip for dropdownlist, datetime picker, kricheditor and others in the same form? (where I use above mentioned:)


QTip::qtip('.row input[title]', $opts);

Bump.

How to use qtip on krichtext editor and jui datetime picker? What’s the jquery selector for it?




<script type="text/javascript">

    $('.tinymce').qtip({

    content: 'This is an active list element',

    show: 'focus',

    hide: 'blur',

    style: { 

      name: 'blue' // Inherit from preset style

    }

    })

</script>



I can make use of qTip without the Yii wrapper, but I need correct selectors for the problem.

Yii makes htmltags on its own… How to select juidatetime widget and krichtexteditor (tiny mce), using jquery?