title: How to give url.action for ajax url?
body: <p>How to give url.action for ajax url ?</p>
  
  <p>my url like this  url: "CheckSiteNameExist"</p>
  
  <pre><code>$("#SiteName").change(function () {
          var subRegionId = $("#SubRegion").val();
          var value = $(this).val();
          $.ajax({
              url: "CheckSiteNameExist",
              type: "POST",
              contentType: "application/json",
              data: JSON.stringify({ subRegionId: parseInt(subRegionId), siteName: value }),
              success: function (data) {
                  if (data == 'False') {
                      $('#isSiteExist').show();
                  } else {
                      $('#isSiteExist').hide();
                  }
              }
          });
  </code></pre>
  
  <p>Not always went absolute path how to set relative path to my controller in url.action ?</p>