title: URL for ajax not working properly in asp.net
body: <p>I recently added some url re-writing to my web application and had to added Page.Resolve URL to all my script images etc references. Now inside of those scripts, i have some ajax calls that now is not finding my webservices anymore. the Request URL is wrong i see looking at the error message. Is there anyway I can get to my webservices? thanks for any help.</p>
  
  <p>What I had orginally thats not working now</p>
  
  <pre><code>$.ajax({
                  type: "POST",
                  url: "../MainService.asmx/UpdateInformation",
                  contentType: "application/json; charset=utf-8",
                  data: parameter,
                  dataType: "json",
  </code></pre>