Tooltips With Cjuibuttons In Yii

Hi,

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() {

    $("#btnClose").button({

        text: false,

        label: 'Close Wizard'

    });

});

</script>

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

Thanks!

Does anyone have any experience with tooltips in Yii?