Relative URL in JQuery Post Call
问题 I have the following situation. I developed my first MVC Asp.Net application. it runs on my server at the following adress http://localhost:59441/ I wrote some JQuery Post Methods that looked like this $.ajax({ type: "POST", url: "/CeduleGlobale/UpdateCheckBox", ... CeduleGlobale is my ControllerName and UpdateCheckBox is my methodName When I put the Application on the testServer, it was put in a VirtualDirectory hence the application is now http://testServer/JprApplication/ no more port to