Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Edited Issue: GetCurrentSite is returning blank [10122]

$
0
0
From http://spservices.codeplex.com/discussions/432009

I've just started playing with this, and have hit a hurdle at step one.
I have a page with a content editor and the following code: All I get is "hello", then "jQuery" then a blank alert box. Is it me?

```
<script language="javascript" src="/mertonshared/computerstudies/Quiz/Documents/jquery-1.9.1.js" type="text/javascript"></script><script language="javascript" src="/mertonshared/computerstudies/Quiz/Documents/jquery.SPServices-0.7.2.js" type="text/javascript"></script><script language="javascript" type="text/javascript">
alert('hello');
$(document).ready(function() {
alert("jQuery");
alert($().SPServices.SPGetCurrentSite());
}); </script>
```

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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