Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint Javascript

$
0
0

Hi,

In of our applications' script which uses Javascript Client Object model, I saw below statement:

 var webUrl = _spPageContextInfo.webServerRelativeUrl == '/' ? '' : _spPageContextInfo.webServerRelativeUrl;

What is this conditional statement testing here? sorry it is a dumb question but am trying to follow. Any ideas?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>