title: Can you perform a jQuery function based element's pseudo class?
body: <p>Is it possible to write a jQuery function that will trigger when another element has and doesn't have pseudo class?</p>
  
  <p>For example, when element A is being hovered on elements C's class should be "aishovered" and when it is not, it should go back to "anothovered"</p>
  
  <p>When A not hovered:</p>
  
  <pre><code>&lt;div class="a"&gt; &lt;/div&gt;
  &lt;div class="b"&gt; &lt;/div&gt;
  &lt;div class="c anothovered"&gt; &lt;/div&gt;
  </code></pre>
  
  <p>When A is hovered:</p>
  
  <pre><code>&lt;div class="a"&gt; &lt;/div&gt;
  &lt;div class="b"&gt; &lt;/div&gt;
  &lt;div class="c aishovered"&gt; &lt;/div&gt;
  </code></pre>
  
  <p>Hover state is just being used for an example, looking for a jQuery solution that works with other pseudo classes such as :active and :visited.</p>