how to highlight a div for a few seconds using jQuery
<p>I want to be add the following to a a page:</p>

<p>When a div is clicked, I want to:</p>

<ol>
<li>change the background color of the clicked on div for a few seconds</li>
<li>revert back to the original background color after a few seconds</li>
</ol>

<p>I want to do this by using only jQuery available functions - i.e. not using a plugin or anything else. I am relatively new to jQuery, but I think a possible solution involves the use of changing the class of the selected div and using a timer.</p>

<p>I am not sure how to put it all together though. Can anyone provide a few lines that show how to do it?</p>

<p>This is what I have so far:</p>

<pre><code>$(function(){
 $('div.highlightable').click(function(){
    //change background color via CSS class
    $(this).addClass('highlighted);
    //set a timer to remove the highlighted class after N seconds .... how?
 });
});
</code></pre>
