SharePoint how to refer file URL in client side script

In SharePoint, sometime user finds it difficult to refer URL for any file in client side scripting languages like jQuery/javascript, so in this post I am sharing how to refer different level of sites using tilde (~). ~site: is used to refer to current site URL. ~sitecollection: is used to refer the current site collection …

Continue reading ‘SharePoint how to refer file URL in client side script’ »