What is the opposite of CLICK event?

junkie

New Member
I had a list \[code\]<li>\[/code\] where the content inside li should get bold when it is clicked. For that i used the following codeHTML\[code\] <ul class="tabs"> <li><a href="http://stackoverflow.com/questions/3127343/#tab1" style="padding-left:5px;">All Sectors</a></li> <li><a href="http://stackoverflow.com/questions/3127343/#tab2">Information Technology</a></li> <li><a href="http://stackoverflow.com/questions/3127343/#tab3">Manufacturing</a></li> <li style="border-right:none;"><a href="http://stackoverflow.com/questions/3127343/#tab4">Services</a></li> </ul>\[/code\]JQUERY\[code\]$(document).ready(function() { $(".tabs li a").click( function() { $(this).css({ "font-weight" : "bold" }); } );});\[/code\]But When the list item is clicked it gets bold. I want the list item to get back to normal when the other list item is clicked. I am not able to find the correct event. Your help will be greatly appreciated.
 
Top