title: Jquery: if class exists
body: <p>I want something that finds instantly on the page a class called <code>prop</code> and set it to <code>hidden</code> soon as there is one.</p>
  
  <p><strong>IMPORTANT: soon as a new element is added I want that element with prop class changed. Like a while loop</strong></p>
  
  <pre><code>if( class='prop' == found ){
  
       set class to ('hidden');
  
  }
  </code></pre>
  
  <p>And yes this function is inserted after the element caller. but it seems like it takes some time till the element is generated so I need a check on the class to remove it as fast as possible. I cant use a delay in this case have tried that with bad results.</p>