title: how can i update current object in parse.com with javascript?
body: <p>I want to update object i already have in parse.com with javascript; what i did is i retirevied the object first with query but i dont know how to update it.</p>
  
  <p>here is the code i use, whats wrong on it?</p>
  
  <pre><code>var GameScore = Parse.Object.extend("Driver");
  var query = new Parse.Query(GameScore);
  query.equalTo("DriverID", "9");
  query.find({
    success: function(results) {
  
      alert("Successfully retrieved " + results.length + "DName");
  
       results.set("DName", "aaaa");
      results.save();
    },
    error: function(error) {
      alert("Error: " + error.code + " " + error.message);
    }
  });
  </code></pre>