when the user clicks on a menu tab i want it to remain selected with it a white button.
here is my attempt but its not working. if you click the home button it does
You have no css for '.selected'. So, add the styling to turn the button white.
Your jQuery is incorrect. In the click function, target 'this' because that targets the specific element that you clicked.
$('#navigation li').click(function(event) { $(this).addClass('selected'); });