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


You need to login to view comments.