title: Object doesn't support property or method 'save'
body: <p>I am getting error while calling <code>reportManager.save("/EditInitiatives.svc/SaveGridData");</code> method</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
  $(function () {
      $('#saveReport, #save-report-bottom').click(function () {
          $.blockUI({ message: '&lt;h4&gt;&lt;img src="/Images/busy.gif" /&gt; Saving your changes.&lt;br/&gt;This operation might impact several reports at once.&lt;br/&gt;Please be patient.&lt;/h4&gt;' });
          uiController.disableSaveButton();
          reportManager.save("/EditInitiatives.svc/SaveGridData");
      });
  
      var reportManager = function () {
          var tableData = JSON.stringify(handsontable.getData());
          var input = JSON.stringify({ "input": tableData });
          alert("Data" +  input); 
  
          save = function(saveUrl) { 
              alert("save" + saveUrl);
  
              $.ajax({
                  url: saveUrl,
                  type: 'POST',
                  dataType: 'json',
                  data: input, //returns all cells' data
                  contentType: 'application/json; charset=utf-8',
                  success: function(res) {
                      if (res.result === 'ok') {
                          console.text('Data saved');
                      }                        
                      $.unblockUI();                            
                  }, 
                  error: function (xhr) {
                      alert(xhr.responseText);
                  }                       
              });
          }
      };
  }
  &lt;/script&gt;
  </code></pre>