Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Short answer is because your "onmouseover" event calls a method called "open()". Try changing the name of that function call to almost anything else, and you will notice that it no longer disappears. The open() function call actually calls the document.open() method and not the open function you've set in your JS.
9th Dec 2019, 5:34 PM
Russ
Russ - avatar