The example in this article describes the usage of jquery prompt effect. Share it with everyone for your reference. The specific implementation method is as follows:
$(function(){
$(".tooltip").mouseenter(function(e){
this.mytitle=this.title
this.title=""
var a="
Experience:
Do not add div elements under the p tag, as a large deviation will occur!
It turns out! This and $("this") are different. If this.title above is rewritten as $("this").attr("title"), the following mouseout event will not be able to access the saved title.
I hope this article will be helpful to everyone’s jQuery programming.