jquery manipulating multiple elements
<p>I'm trying to manipulate two elements within a jquery function and i'm not seeing the light.
I'm using the following code which works well on showing the required div, but i would like to add highlighting to a paragraph item in another part of the page as well?</p>

<pre><code>$('.lang-click').click(function(event){
  $('.lang').hide();
  $("li").removeClass("lang-on");
  event.preventDefault();
  $(this).parent().addClass("lang-on");
  $($(this).attr('href')).fadeIn(500);     
 });
</code></pre>

<p>I have tried this - which does not work:</p>

<pre><code>$('.lang-click').click(function(event){
  $('.lang').hide();
  $("li").removeClass("lang-on");
  event.preventDefault();
  $(this).parent().addClass("lang-on");
  $($(this).attr('href')).fadeIn(500);
  var href = $(this).attr('href');
  $($(this).attr('href', href + '-cont')).addClass("cont-on");
 });
</code></pre>
