title: Deleting a table row in object oriented programming
body: <p>I started learning OOP in JavaScript at school and I have to do my homework in OOP. It is a shopping list, one fills in a product and price and that is put into an array, the array its contents are put in a table in HTML. The list also has got delete buttons for every product, I have thought about using <code>this</code> in JavaScript, as I am working in OOP, but I am sceptic because of the scope.</p>
  
  <p>The idea is that one clicks "verwijder" on the webpage (EDIT: in the corresponding row) and the table row is gone. I have thought about using <code>this</code> but also about dynamically updating the table after removing the selected row from the array.</p>
  
  <p>Who can advise me about what to do and how to do that correctly?
  I have uploaded my JavaScript here: <a href="http://jsfiddle.net/hNAZ9/" rel="nofollow">http://jsfiddle.net/hNAZ9/</a></p>