Animating the background color of an HTML table's cell (or the whole row) on an event
问题 I have a table with a menu (food items) with several rows and columns. The 2nd column contains a link to the food item. When the user clicks it, the item is added to a shopping cart. I'd like to give the user some visual feedback that the click and adding actually worked. I already have a click handler for the link that adds the item clicked on to the cart. A simple alert('Item successfully added'); works but is not really pretty. I'd like the table cell (or the whole row) to "flash" once. By