I am loading up some content via jQuery.load(\'/Business/Tags\'), which works well when using my local webserver. But when using iis this does not resolve correctly. I hav
A couple of ways we do this in our apps:
var applicationPath = '<%= Url.Content("~/") %>';
OR
var applicationPath = '<%= Request.Url.Scheme %>://<%= Request.Url.Host %><%= Request.ApplicationPath %>/';
We then use applicationPath as the base url for all our ajax calls.