Hi,
I am using cluetip on a button. I want to be able to activate the cluetip on the button later as to highlight the button's presence. How can i do this? I have tried:
itemButton.trigger("blur");
itemButton.blur();
itemButton.activate();
itemButton.cluetip("show");
itemButton.cluetip("activate");
I have also tried all on itemButton.find("span")... no luck :(
Thanks,
Lilalfyalien
Here's how I create my button:
- var itemButton = $('<a/>', {
- id : buttonId,
- title : item.value,
- href : 'javascript:void(0);',
- 'class' : 'addedButton inlineAction',
- html : item.label
- }).button( {
- icons : {
- secondary : "ui-icon-remove-bin"
- }
- }).click(function() {
- removeItem(item);
- });
- itemButton.find("span").cluetip( {
- cluezIndex : '1010',
- splitTitle : '|',
- cluetipClass : 'custom',
- clickThrough : true
- });