i request a ajax call using jquery
$.ajax{}
on url parameter i hardcoded the path as
"/Home/Ajaxpost"
its working fine with default, but i hosted in IIS so the project name included in path
like "/Project/Home/Index" so now if the request goes lik "Home/Ajaxpost" fails Action not found.
How can i dynamically set the path for ajax call.