jQuery set class to inner div
<p>I am trying to set a class of radio-checked to a div and all previous divs on mouse over and remove on mouse out. The trouble is that it sets to the 'a' tag surrounding each of the div's.</p>

<p>Is there a way to set to inner div? </p>

<pre><code> $(function() {
    $('.radio-fx').live( "mouseenter", function() { // Handles the mouseover
            var $self = $(this);
            $self.addClass('radio-checked').prevAll().addClass('radio-checked');
            $self.nextAll().removeClass('radio-checked');
    }).live ( "mouseout", function() { // Handles the mouseout
            $(this).removeClass('radio').prevAll().removeClass('radio');
    });
});   

  &lt;div class="voteGroup"&gt;
       &lt;input type="radio" id="price_0" value="1" name="price" style="display: none;" class="radio-checked"&gt;
       &lt;a href="#" class="radio-fx price radio-checked" title=" check me "&gt;
              &lt;div class="radio"&gt;&lt;/div&gt;
       &lt;/a&gt;
       &lt;input type="radio" id="price_1" value="2" name="price" style="display: none;" class="radio-checked"&gt;
       &lt;a href="#" class="radio-fx price radio-checked" title=" check me "&gt;
              &lt;div class="radio"&gt;&lt;/div&gt;&lt;/a&gt;
       &lt;input type="radio" id="price_2" value="3" name="price" style="display: none;" class="radio-checked"&gt;
       &lt;a href="#" class="radio-fx price radio-checked" title=" check me "&gt;
               &lt;div class="radio"&gt;&lt;/div&gt;
       &lt;/a&gt;
       &lt;input type="radio" id="price_3" value="4" name="price" style="display: none;" class="radio-checked"&gt;
       &lt;a href="#" class="radio-fx price radio-checked" title=" check me "&gt;
               &lt;div class="radio"&gt;&lt;/div&gt;
       &lt;/a&gt;
       &lt;input type="radio" id="price_4" value="5" name="price" style="display: none;" class="radio-checked" checked="checked"&gt;
       &lt;a href="#" class="radio-fx price radio-checked" title=" check me "&gt;
               &lt;div class="radio-checked"&gt;&lt;/div&gt;
       &lt;/a&gt;
   &lt;/div&gt;
</code></pre>
