title: Can't get the delete function to work it keeps telling me "object has no splice method"
body: <p>Can't get the delete function to work it keeps telling me object has no splice method.</p>
  
  <pre><code>function del() { 
    var x = document.getElementById("display");  
    x.value.splice(x.value.length - 1,  1);
  }
  
  
  &lt;input type="text"/&gt;&lt;br /&gt;&lt;button onclick="del()"&gt;delete&lt;/button&gt;
  </code></pre>