Thanks for the response Marc.
When I say it returns nothing, I am referring to the following call:
$('#like').live('click', function() { alert($().SPServices.SPGetCurrentSite()); });
This comes up as blank, whereas the two functions below that call are successfully pulling in SP data using the GetListItems call.
Is it possible the reason is because the button that I am clicking on has been dynamically created? It just seems strange since when I click on a dynamically created list item (li), I am able to successfully make a SPServices call.
When I say it returns nothing, I am referring to the following call:
$('#like').live('click', function() { alert($().SPServices.SPGetCurrentSite()); });
This comes up as blank, whereas the two functions below that call are successfully pulling in SP data using the GetListItems call.
Is it possible the reason is because the button that I am clicking on has been dynamically created? It just seems strange since when I click on a dynamically created list item (li), I am able to successfully make a SPServices call.