title: Grails Dynamic Form Fields
body: <p>I want to do something like below using Grails:</p>
  
  <p>I can achieve the simple text field using jquery/js. However I need to add the dynamic form field for dropdown list and use Grails gsp tag. But I can't put something like:</p>
  
  <pre><code>var line = "&lt;g:select/&gt;";
  </code></pre>
  
  <p>in the javascript to add a row. Because there i no GSP engine for javascript. </p>
  
  <p>Also for deleting a row, there is no id in my project, so not quite sure how to delete a row using dynamic form fields.</p>
  
  <p><img src="https://i.stack.imgur.com/eCyvD.png" alt="enter image description here"></p>