Tooltips With Cjuibuttons In Yii


If you create a jQuery UI button in Yii, the default behavior is that the text of the button SHOULD show as the tooltip. You can also override this with the ‘label’ option, but neither of these works for me in Yii. Any suggestions? Here is the code I’m using:

<button id="btnClose"></button>

<script type="text/javascript" >

$(function() {


        text: false,

        label: 'Close Wizard'




The button shows up just fine, just without a tooltip.


Does anyone have any experience with tooltips in Yii?