title: JQuery Function is not defined in scripts file
body: <p>apparently my jquery function is not defined. I have no idea why. I am calling jquery before the scripts file so thats not the case and the jquery was working fine before I put it in the function.</p>
  
  <pre><code>(function ($) {
  
  function selectCharacter(){
      $('select.character_select').change(function(){
  
          alert('Select field value has changed to' + $('select.character_select').val());
  
  
  
      });
  }
  
  })(jQuery);
  
  
  selectCharacter();
  </code></pre>