title: Change button color if HTML.DropDownListFor changes
body: <p>EDIT: Turns out I needed to move the jquery reference in the _Layout file above @RenderBody() like they did <a href="https://stackoverflow.com/a/33460229/11788388">here</a></p>
  
  <p>I'm trying to "activate" my submission button when the data in the dropdown menus meet my requirements. So when the data in the first dropdown stops matching the data in the second one, the submit button should change from grey to orange.</p>
  
  <p>Included is the javascript I tried to make this happen, but according to the Visual Studios debugger, the javascript hasn't even been touched. I'm new to javascript, and based on the research I've done, I can't tell what's wrong.</p>
  
  <p>Dropdowns:</p>
  
  <pre><code> &lt;tr&gt;
     &lt;td&gt;
        @Html.DropDownListFor(m =&gt; m.Starting, new SelectList(Enum.GetValues(typeof(Location))), htmlAttributes: new { @id = "start", @style = @"  width: 192px; height: 32px; border-radius: 2px; border: solid 1px #babcbe; background-color: #ffffff;" })
      &lt;/td&gt;
   &lt;/tr&gt;
  
  &lt;tr&gt;
    &lt;td&gt;
      @Html.DropDownListFor(m =&gt; m.Endpoint, new SelectList(Enum.GetValues(typeof(Location))), htmlAttributes: new { @id = "end", @style = @"  width: 192px; height: 32px; border-radius: 2px; border: solid 1px #babcbe; background-color: #ffffff;" })
     &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Javascript</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    $(document).ready(function() {
       $("#start").change(function() {
           var selectedStart = $("#start option:selected").val();
           var selectedEnd = $("#end option:selected").val();
  
           if (selectedStart != selectedEnd) {
               $("#toNext").css("background-color", "#f06424");
           } else {
               $("#toNext").css("background-color", "grey");
           }
       });
   });
  &lt;/script&gt;
  </code></pre>
  
  <p>Button at the end</p>
  
  <pre><code>&lt;button class="btn" id="toNext" input type="submit"&gt;Next&lt;/button&gt;
  </code></pre>