Review

$(function() { getAssessments(); }); function getAssessments() { var settings = { "async": true, "crossDomain": true, "url": "http://www.growyourbusiness.com.au/php/api-get-assessments.php?userId=" + getCookie('userId'), "method": "GET", "headers": { "cache-control": "no-cache", "postman-token": "4ad4bcd2-7df5-3ff2-72f9-3c83c9083b8c" } } $.ajax(settings).done(function (response) { var assessmentResponce = JSON.parse(response); var assessmentSuccess = assessmentResponce.success; var assessments = []; if (assessmentSuccess) { //if get asssessment is success assessments = assessmentResponce.assessments; $(assessments).each(function() { var assessment = this; $('#spn-score-1').text(assessment.assessment_score1); $('#spn-assessment-1').text(assessment.self_assessment_score1); $('#spn-score-2').text(assessment.assessment_score2); $('#spn-assessment-2').text(assessment.self_assessment_score2); $('#spn-score-3').text(assessment.assessment_score3); $('#spn-assessment-3').text(assessment.self_assessment_score3); $('#spn-score-4').text(assessment.assessment_score4); $('#spn-assessment-4').text(assessment.self_assessment_score4); $('#spn-score-5').text(assessment.assessment_score5); $('#spn-assessment-5').text(assessment.self_assessment_score5); $('#spn-score-6').text(assessment.assessment_score6); $('#spn-assessment-6').text(assessment.self_assessment_score6); $('#spn-score-7').text(assessment.assessment_score7); $('#spn-assessment-7').text(assessment.self_assessment_score7); }); } }); } function getCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for(var i = 0; i <ca.length; i++) { var c = ca[i]; while (c.charAt(0)==' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length,c.length); } } return ""; }

Review your Latest Assessment Score.

Leadership

0/10

Self-Assessment: 0
Brand

0/10

Self-Assessment: 0
Finance

0/10

Self-Assessment: 0
Management

0/10

Self-Assessment: 0
Delivery

0/10

Self-Assessment: 0
Sales

0/10

Self-Assessment: 0
Marketing

0/10

Self-Assessment: 0
Do you wan't take assessment again?