sharepoint absolute site collection URL javascript variable


/ Published in: JavaScript
Save to your folder(s)

Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"


Copy this code and paste it in your HTML
  1. _spPageContextInfo.webAbsoluteUrl

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.