I'm working in implementing SPServices in SP2007, but I'm having problems getting started. I'm following this guide, but unable to get the second step to work.
I've added the js files to the head tag and confirmed that they are linked correctly. Here's the output of the tags to illustrate they are in the correct order:
What could I be missing?
Thanks in advance.
I've added the js files to the head tag and confirmed that they are linked correctly. Here's the output of the tags to illustrate they are in the correct order:
<script type="text/javascript" src="/scripts/jquery-1.10.1.min.js" id="link1"></script>
<script type="text/javascript" src="/scripts/jquery.SPServices-2013.02a.min.js" id="link2"></script>
<script type="text/javascript" src="/scripts/gallery.js" id="link3"></script>
When I add the following to the gallery.js file I only get the 'jQuery' alert. $(document).ready(function(){
alert("jQuery");
alert($().SPServices.SPGetCurrentSite());
});
Debugging the JS in chrome, I get $().SPServices is undefined. I've confirmed that there is only one call to jQuery....js. What could I be missing?
Thanks in advance.