title: Transforming textarea to function to button
body: <p>Im trying to make a function that will read the text area and transform it into string and type it somewhere. I expect it to display the paragraph with id biljeske. but it doesnt show anything at all. i dont know where i failed in this code.
  <code>&lt;textarea name="notes" rows="10" cols="30" autofocus&gt;&lt;/textarea&gt;</code></p>
  
  <pre><code>&lt;p Id="biljeske"&gt;&lt;/p&gt;
  
  
  function novaBiljeska()
  {
  var strNotes;
  strNotes = notes.getText();
  document.getElementById("biljeske").innerHTML = strNotes;
  }
  
  
  &lt;input type="button" value="Show" onclick="novaBiljeska()" &gt;
  </code></pre>