SurveyJS Service Results

Get Survey Result after sending results

                        var surveySendResult = function(s, options) {
    if(options.success) {
        s.getResult('a15eee7a-9418-4eb4-9671-2009c8ff6b24', 'langs');
var surveyGetResult = function(s, options) {
    if(options.success) {
function showChart(chartDataSource) {
    document.getElementById("chartContainer").style.height = "500px";
        dataSource: chartDataSource,
        series: {
            argumentField: 'name',
            valueField: 'value'

var json = {
        surveyId: '5af48e08-a0a5-44a5-83f4-1c90e8e98de1',
        surveyPostId: '3ce10f8b-2d8a-4ca2-a110-2994b9e697a1'

window.survey = new Survey.Model(json);

    survey.onComplete.add(function(result) {
        document.querySelector('#surveyResult').textContent =
            "Result JSON:\n" + JSON.stringify(, null, 3);

    model: survey ,onSendResult: surveySendResult
,onGetResult: surveyGetResult


<!DOCTYPE html>
    <title>Get Survey Result after sending results, jQuery Survey Library Example</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src=""></script>
<script src=""></script>
<link href="" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="./index.css">
<script src=""></script>
    <div id="chartContainer"></div>            <div id="surveyElement">
    <div id="surveyResult"></div>

<script type="text/javascript" src="./index.js"></script>


The current survey results could be accessible via the direct link. See Survey Results