I need to be able to destroy and re-instantiate the tooltip call when a button is clicked -- how can I do this?
ie:
ie:
('#cfg input[name=tt]').click(function(){
log(this);
if ( this.checked ) {
$(".tips a").tooltip({ tip: '#tip', predelay: 100, effect: 'fade' });
$("form .tip").tooltip({ tip: '#tip', predelay: 100, effect: 'fade', events: { input: 'mouseov
er, mouseout' } });
} else {
//destroy whatever $('.tips a').tooltip() did
}
