Home  >  Q&A  >  body text

javascript - What's wrong with this click event.

I made a tab, and there was no problem when I used onmouseover, and the pictures were displayed normally.

But something went wrong when I used the onclick event. When the mouse clicked on the a label, the image flashed and disappeared.


Just a few simple sentences, I really don’t know what went wrong.

女神的闺蜜爱上我女神的闺蜜爱上我2651 days ago663

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-06-26 10:53:37

    Your ob is a a tag. Did you click on the route to jump?

    reply
    0
  • Cancelreply