title: Create a form dynamically with jquery and submit
body: <p>I am trying to create a form dynamically via jquery and submit it to a PHP file. This creates the form but nothing happens when i click the submit button. What is going wrong here ?  </p>
  
  <p>Method i am using to create a form dynamically is :-</p>
  
  <pre><code>    $('#share').append("&lt;form action='sharer.php' method='POST'/&gt;");
      $('#share').append("&lt;div class= 'appm'&gt;Save this/div/&gt;");
      $('#share').append("&lt;input type='text' placeholder='Name' name='routename' id='rname'/&gt;");
      $('#share').append("&lt;input type='text' placeholder='description' id='rdescription' name='routedescription' class= 'address'/&gt;");
      $('#share').append("&lt;input type='text' placeholder='tags' id='tags' name='routetags'  /&gt;");
      $('#share').append("&lt;br&gt;&lt;input type='submit' id='savebutton' value = 'Save' /&gt;");
      $('#share').append("&lt;/form&gt;");
  </code></pre>