title: uncaught reference error jquery is not defined
body: <p>I'm getting this error:</p>
  
  <pre><code>uncaught reference error jquery is not defined
  </code></pre>
  
  <p>I receive the error when doing inspect element in Google Chrome. 
  I don't understand JavaScript and this was done by someone else. </p>
  
  <p>Please note:
  I clearly didn't know anything about JS before and the community, although very brutally, made that clear. Sorry about the simplistic post but that wasn't my intention.
  This is the script:</p>
  
  <pre><code>function showwaitpagedummy() {
    var strSelectedRegion = $('country')[$('country').selectedIndex].text;
    var strSelectedDes = $('destair')[$('destair').selectedIndex].text;
    var strSelectedFromDes = $('depair')[$('depair').selectedIndex].text;
    var strSelectedNights = $('nights')[$('nights').selectedIndex].text;
  
  
    if (strSelectedRegion == 'Any Region') {
      $("dvError").update("You must choose a region");
      return false;
    } else if (strSelectedDes == 'Any Destination') {
      $("dvError").update("You must choose a destination");
      return false;
    } else if (strSelectedFromDes == 'Any Airport') {
      $("dvError").update("You must choose a depature airport");
      return false;
    } else if (strSelectedNights == 'Any night') {
      $("dvError").update("You must choose nights");
      return false;
    }
  
  
    $('frmFlightAccom').submit();
    $('waitpagedummy').show();
  }
  </code></pre>