Applying a class to a link when hovering a different link

Applying a class to a link when hovering a different link

This what I have;

  1. $('a.toggleLink').mouseover(function() {
  2. $('.togglelink').addClass('.hover');
  3. });
'toggleLink'
and
'togglelink' are two different classes, could this be causing problems?

Basically I want to apply the class of hover to togglelink when toggleLink is mouseover-d.

 I'm guessing it's wrong as it isn't working but could someone let me know where im going wrong and how to fix it.

Thanks.