$(".fakeradio").click(function(){ $( 'ul a' ).removeClass( 'fakeradioed' ); /* Continue with what you had */ )};