title: jquery setinterval not working no console error
body: <p>im trying to add and remove class every 1 second but its now working and there is no console error</p>
  
  <p>im actually trying to change one of my menu items color and background color to make attention i cant solve :(</p>
  
  <p><strong>there is my jquery html and css code</strong></p>
  
  <p><strong>jquery</strong></p>
  
  <pre><code>function ds1() {
      $("#h").addClass("ds");
  };
  
  function ds2() {
      $("#h").removeClass("ds");
  };
  
  function ds() {
      if ( $("#h").css("color") == ("#000000") ){
          $("#h").addClass("ds");
      }else{
          $("#h").removeClass("ds");
      }
  };
  
  setInterval(ds , 1000);
  </code></pre>
  
  <p><strong>html</strong></p>
  
  <pre><code>&lt;ul id="alt_menu2"&gt;
  &lt;li&gt;&lt;a href="#" class="anasayfa"&gt;Ana sayfa&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#" class="modlar"&gt;Modlar&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#" class="kaynakpaketleri"&gt;Kaynak paketleri&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#" class="hariatalar"&gt;Haritalar&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#" class="kendinyap"&gt;Kendin yap&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#" class="heraypremium" id="h"&gt;Her ay premium&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#" class="yardim"&gt;Yardım&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p><strong>css</strong></p>
  
  <pre><code>#alt_menu2{
      width: 1020px;
      height: 50px;
      list-style: none;
      display: block;
  }
  
  #alt_menu2 li{
      display: block;
      float: left;
      cursor: pointer;
      border-style: solid;
      border-width: 0px 1px 0px 0px;
      border-color: #cccccc;
  }
  
  #alt_menu2 li a,.heraypremium{
      padding: 16px 18px 15px 17px;
      text-decoration: none;
      display: block;
      text-align: center;
      color: #000000;
      background-color: #ffffff;
      /*transition: 0.5s;
      -webkit-transition: 0.5s;
      -moz-transition: 0.5s
      -o-transition: 0.5s;*/
  }
  
  #alt_menu2 li a:hover{
      padding: 12px 18px 15px 17px;
      border-width: 4px 0px 0px 0px;
      border-color: #cccccc;
      border-style: solid;
  }
  
  .ds{
      background-color: #303030 !important;
      color: #ffffff !important;
  
  }
  </code></pre>