What is the correct way to find all elements within a dialog that have a tooltip?
Here is a way I am pretty sure you'd be able to do it but it seems like it would be slow and I am curious if someone has a better way:
- $dialog.find('*').each(function(){
- if ( $(this).is(':data(uiTooltip)') ) {
- // I am a tooltip
- }
- })
Thanks,
Drew