View Single Post
01-02-2010, 03:28 PM
#7
Gurnk is offline Gurnk
Status: Member
Join date: May 2007
Location: US
Expertise:
Software:
 
Posts: 380
iTrader: 12 / 100%
 

Gurnk is on a distinguished road

Send a message via AIM to Gurnk Send a message via MSN to Gurnk

  Old

You just need to remove all the classes before you apply the clicked class to the one that's actually clicked.

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

Reply With Quote