title: jquery toggle id's instead of classes?
body: <p>is there a way to make a toggle function that first of all toggles only one css style element, such as background-color or something like that. and that selects an id instead of a class, for i know of the toggleClass, but im just wondering if it's possible with ids instead? </p>
  
  <pre><code>$("#gallery").load('http://localhost/index.php/site/gallerys_avalible/ #gallerys_avalible'); 
    $('li').live('click', function(e) {  
        e.preventDefault();
        if(!clickCount &gt;=1) {
          $(this).css("background-color","#CC0000");
          clickCount++; 
          }  
         console.log("I have been clicked!");
         return false;
         });
  </code></pre>