how to highlight a div for a few seconds using jQuery

前端 未结 5 2218
無奈伤痛
無奈伤痛 2021-02-08 01:04

I want to be add the following to a a page:

When a div is clicked, I want to:

  1. change the background color of the clicked on div for a few seconds
5条回答
  •  花落未央
    2021-02-08 01:40

    I think you are looking for the Highlight effect.

    http://docs.jquery.com/UI/Effects/Highlight

提交回复
热议问题