HTML:
a#myname
div#tooltip-myname
a#yourname
div#tooltip-yourname
jQuery:
$('#myname').tooltip($('#tooltip-myname'));
$('#yourname').tooltip($('#tooltip-yourname'));
How do I automate the tooltip container part so I don't have to manually enter '#tooltip-myname
' '#tooltip-yourname
' and so on with each tooltip?
Thanks!