title: Convert Form data to JSON
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
    &lt;head&gt;&lt;/head&gt;
    &lt;body&gt;
        &lt;form name="abc" action="#" method="post"&gt;
          
          Name: &lt;input type="text" name="name"&gt;&lt;br&gt;
          Age : &lt;input type="text" age="name"&gt;&lt;br&gt;
          &lt;input type="submit"&gt;&lt;br&gt;
          &lt;/form&gt;
      
          &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Can any one write this HTML code in such a way that when I will submit this form the the form data will be submitted in JSON format .</p>