title: GetCitiesByRegion is not defined?
body: <p>I have a page, and i've got a link looking like: </p>
  
  <pre><code>&lt;a href="#" onclick="GetCitiesByRegion('{181AC78C-94F4-486E-B1C7-CFA62C4FA4D3}')" title="Nordjylland" class="nordjylland" data-class="mapdk nordjylland"&gt;&lt;span&gt;Nordjylland&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>And in my Javascript file, i've got a function called GetCitiesByRegion(), however, when clicking the link, i get an error, saying that GetCitiesByRegion is not defined? </p>
  
  <p>The function looks like this:</p>
  
  <pre><code>function GetCitiesByRegion(id) {
  
      var params = '{"id":"' + id + '"}'
  
      var request = {
          type: "GET",
          async: false,
          cache: false,
          url: "http://" + location.hostname + "/webservices/services.svc/GetCitiesByRegion",
          contentType: "application/json; charset=utf-8",
          dataType: "json",
          data: params,
          success: function (result) {
              alert("Data Loaded: " + result);
          },
          error: function (xhr, status, error) {
              alert('Fejl ved webservice: error: ' + error);
          }
      };
  
      $jq.ajax(request);
  }
  </code></pre>