jquery code is
url: '/Jobseeker/Home/?handler=DetailHome_Jobs',
type: "POST",
in code behind i am not getting current browser url like
http://localhost:44984/project-administrator-contract-jobs-in-India
i am getting a route url ' http://localhost:44984/Jobseeker/Home/ '.. i face this issue only on ajax call method. code behind code is.
public PartialViewResult OnPostDetailHome_Jobs()
{
string url = $"{this.Request.Scheme}://{this.Request.Host}{ this.Request.Path}";
.
.
.
.
}
i want to get a current url from ajax call method from code behind
http://localhost:44984/project-administrator-contract-jobs-in-India
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.