title: Jquery -> How to select ID with same name as class by click on class?
body: <p>I have a li with classname "gallery1 multgalerie" and after click on it I want to show div with id "gallery1" (and 2, 3, 4...). So the meaning of the code looks like this:</p>
  
  <pre><code>$( ".conty li" ).click(function() {
  
  var className = $(this).attr('class');
  
  $('.conty li').css('font-weight', '400');
  $(this).css('font-weight', '600');
  
  $('.multgalerie').slideUp();
  $(#className).slideDown();
  
  });
  </code></pre>
  
  <p>So the question is how to use this <strong>$(#className).slideDown();</strong> ,select ID, properly, since it has same ID name as class clicked bellow.</p>