I use the tooltip in a social media site that allows users to
mouseover a photo of another user and the tooltip will show options
like 'Add to Friends List'.  After clicking it'd do an ajax call and
replace that text with 'Remove from Friends List'.  That works great,
but if I mouse away from that users photo and go back it will always
show the starting state ('Add to Friends List').

So I'm wondering if I shouldn't use AJAX to do that and instead
refresh the tooltips content.  But how do you refresh the content?  Is
that an option built in?

Reply via email to