Quantcast
Viewing all articles
Browse latest Browse all 6517

Commented Issue: GetCurrentSite is returning blank [10122]

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>
```
Comments: Error message with 1.9.1 (minified or not): SCRIPT5009: 'childColumnStatic' is undefined jquery.SPServices-0.7.2.js, line 1357 character 3

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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