Okay I implemented Tooltipster successfully and I have created an image with the following title:
<img id="DeviceIvan" class="tooltipsterIvan" src="Slike/urSamsungS7.png"
title="Some Tekst bla bla works great."/>
Now I have need the title text to change when I select a different option. I usually do this:
$('#DeviceIvan').html("I have changed the text yo!!!");
But this does not appear to work.
I also tried:
var image = document.querySelector('img');
image.title = 'Your title'; // Assigning directly to attribute.
image.setAttribute('title', 'Your other title'); // Assigning by method.
But that also did not work. Can someone help with changing the title using jQuery ?