Hi All 🙂
Thanks for solving this. It also works for adding a tooltip to a button or link as follows:-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('[href*="amazon.com"]').attr('title' , 'Your tooltip text here');
});
</script>
Now when you hover over any button or link that points to amazon.com the tooltip appears.
Regards,
Simon.