title: javascript code for convert a number in string
body: <h1>Μy code does not convert a number into words. Ιs there any mistake??a form related issues in django</h1>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;script&gt;
  $(document).ready(function () {
      $("#amount").keyup(function () {
          $("#amount_string").val(Number($("#amount").val()).toString());
      });
  });
  &lt;/script&gt;
  &lt;form action="#" method="post"&gt;
      &lt;p id="namecont"&gt;name: &lt;input type="text" id="name"/&gt;&lt;/p&gt; 
      &lt;p&gt;Date: &lt;input type="text" id="datepicker"/&gt;&lt;/p&gt;
      &lt;p&gt;Amount: &lt;input type="text" id="amount" /&gt;&lt;/p&gt;
      &lt;p&gt;Amount in Letters: &lt;input id="amount_string" /&gt;&lt;/p&gt;
  
  &lt;/form&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>