I have a long menu, the processing function of the selected menu item is one. All menu items have one common class and different id. In the function, I define the id of the selected menu item, but I can’t think how to change the color of this item.
$('.menu').click(function(event){
var id_menu=event.currentTarget.id; ... }
In id_menu, I have a menu item id in the form: "punkt_1", but how to use it?