title: How to get the content of a text area into a js file
body: <p>I am aware that tis question has been asked before however I am shit at html so I couldn't really apply the answer to my case.</p>
  <p>Basically, I would like to get the content of what is written in the textarea in real time so it updates in realtime onto a javascript file.
  main.html</p>
  <pre><code>&lt;textarea type=&quot;text&quot; name=&quot;keywords&quot; cols=&quot;100&quot; rows=&quot;100&quot;&gt;&lt;/textarea&gt; &lt;br /&gt;
  </code></pre>
  <p>Thanks in advance!</p>