Is there a way to get Firefox to redraw the title / tooltip?

I use JavaScript to change the name of an element. However, I now understand that firefox does not display the new title. You have to drag the mouse out of the element and then move it back to make it work. Since I work with a large element that occupies a lot of screen, the user is unlikely to get this very easily.

Is there a way to get Firefox to redisplay the title?

Maybe there is a way to get Firefox to reload the element or something like that?

Thanks Grae

+5
source share
3 answers
+2

javascript. , , (, , ; o))

if (element.disabled)
{
  element.title=element.value;
}
else
{
  element.onmouseover=function(){element.title=element.value;};
  element.onmouseout=function(){element.title=null;};
}

, ... , , .

+1
0

All Articles