title: How do I target only the class associated with the on(change) event handler?
body: <p>I've created a three question survey where, depending on the selected option, the user receives either more detail or an error message. I need the message to toggle on only the current form on which the event is happening. How do I target only the class associated with the current event?</p>
  
  <pre><code>(function() {
   $('.styled-select').on('change', function() {
      var id = $('option:selected').parent().attr('id');
      console.log(id);
  
      var $wrongAnswer = $(this).parent().filter('.wrong-answer');
      var $story       = $(this).parent().filter('.story');
  
  
      if ( $.inArray( $(this).val(), ['artisan', 'hipster', 'meditation', 'cardigan'] )) {
          $wrongAnswer.removeClass('expand');
          $story.addClass('expand');
  
      } else {
          $wrongAnswer.addClass('expand');
          $story.removeClass('expand');
      }
  
   });
  })();
  </code></pre>
  
  <p>The HTML </p>
  
  <pre><code>&lt;section id="q-three" class="survey"&gt;
  &lt;form action=""&gt;
      &lt;select name="" id="select-three" class="styled-select" &gt;
          &lt;option default&gt;Select one&lt;/option&gt;
          &lt;option value="artisan"&gt;artisan&lt;/option&gt;
          &lt;option value="humblebrag"&gt;humblebrag&lt;/option&gt;
          &lt;option value="brooklyn"&gt;brooklyn&lt;/option&gt;
          &lt;option value="kickstarter"&gt;kickstarter&lt;/option&gt;
      &lt;/select&gt;
      &lt;h2&gt;Put a bird on it kogi master cleanse try-hard salvia.&lt;/h2&gt;
  
      &lt;div class="story"&gt;
          &lt;h3&gt;Pickled letterpress 3 wolf moon crucifix. Migas artisan thundercats, four loko keytar chicharrones shabby chic drinking vinegar knausgaard portland street art occupy small batch. &lt;/h3&gt;
      &lt;/div&gt;
      &lt;div class="wrong-answer"&gt;
              &lt;h3&gt;Try again!&lt;/h3&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><a href="http://codepen.io/ElaineM/pen/LGpzxM" rel="nofollow">Live demo</a>.</p>