I have wrong URL in my ajax calls.

```
$.ajax({
    type: "POST",
    url: "Home/GetDetails",
    ......
});

```

HomeController has action GetDetails().

All works fine, when I load page with URL htp://localhost/projectName
Ajax URL is htp://localhost/projectName/Home/GetDetails

But after loading htp://localhost/projectName/Home/Index all my ajax calls are going to htp://localhost/projectName/Home/Home/GetDetails and thats wrong.

Please, how can I solve this?