title: How to Create List and Display List in Textarea
body: <p>I'm developing a food order system. I want show my order list in a textarea. Right now I can make list in a div's content. I also want my result price to be rounded at two decimal place like if you enter 2, it'll be formatted to 2.00.</p>
  
  <p>My full code is a bit long.</p>
  
  <p>This is a sample of the JavaScript I use :</p>
  
  <pre><code>function addNewItem() {
      price = 4.50;
      result += price;
      appendElement("container", "element" + price, "Cappucino Ice Blended " + price + "&lt;a href=\"javascript:removeItem(" + price + ")\"&gt;[Remove]&lt;/a&gt;");
      document.getElementById('sumOrder').value = result;
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/technique13/fvSuy/2/" rel="nofollow">The full code in a fiddle</a></p>