// How to Get server URL using JavaScript?

var serverURL = Xrm.Page.context.getServerUrl();

**For CRM 2011 Training, please check out our CRM Training page. Please share |Like in Facebook if you feel like this page is useful.
Advertisements