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
I ran into this exact problem with my JavaScript. Since my JavaScript was also in a separate file which was included in my Master Page, I couldn't use ResolveUrl in my case.
Here's how I solved it in my case. I included the following JavaScript in my head tag in my Master Page at the top:
I'm setting a global variable that's accessible to all my JavaScript files called baseUrl.
Your code would then become:
jQuery.load(baseUrl + '/Business/Tags');