The list schema for survey list is quite different from the custom lists. Every question is added as the list column(field) and every response to questions is added as list item. To retrieve the survey question and and to submit the response to list via client object model, do the following.


1)Load the reference of sp.js and Load the address of function to be called as below

2)Define the function.

3) Create callback handlers in this function

4)Execute an async query in this function

5)Define Function On success full operation.

6)Pass on the exception to UI by defining the failure function

7)To Submit Response to Survey List

8)Add the above code lines in txt file as follows

9)To debug above code place debugger; after any code line,which helps you to debug client object code with Visual Studio debugger.

10)Save this file as .txt file and upload to library and refer this link in content editor webpart
This post is for good maintainability of code on Sharepoint site itself.

Hopefully it will help you. Happy coding.

Best SharePoint Hosting Recommendation provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. offers SharePoint hosting starts from $9.99. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable SharePoint Hosting, we should be your best choice.