This project has moved and is read-only. For the latest updates, please go here.

Update sharepoint List using SP Services: Error

Nov 19, 2012 at 1:22 PM

Hi All,

I am very new to sharepoint and only using it for last few days. I am trying to create a page from where I can update a sharepoint list, by clicking a button. For which I have developed a page (.aspx) which I have uploaded to sharepoint doc library. From there I am showing it using a page viewer webpart. But I am not able to use the SP Services properly. I followed some threads here but I am not able to understand.

Kindly help..

I habe created a document library called HTML_Page. My page UpdateList.aspx is uploaded here. Also the jquery jquery.SPServices-0.7.2 and jquery.SPServices-0.7.2.min i have uploaded in the same folder.

I tried with a small code, to show a alert, but its showing error.

Webpage error details

Message: Object expected

testpage.aspx is my page.

Below is my code of the page. Kindly guide :

<!DOCTYPE html>

<script type="text/javascript">

$(document).ready(function() {

 Alert ('Hello!');






Nov 19, 2012 at 2:36 PM

There are instructions at the bottom of the documentation page that go over the initial setup to be sure that you have jQuery and also SPServices loaded correctly. That would be the first place to check. Docs