I wanted to make js (jQuery) work with the interface below:
I'musingtheCSSFoundationframeworktodevelopthisproject.However,IdonotknowhowtomakeacloneusingjQueryfromthiscombowheretheinputsare.ActuallyIwantthemomenttheuserclicksonitmoredynamicallyaddanotherlineequaltothefirstonetoentermorerecords.
TheHTMLofthisrecordisbelow:
<formaction="">
<div class="row box_pergunta">
<div class="large-8 columns">
<label>Mensagem:</label>
<input name="pergunta" type="text">
</div>
<div class="large-2 columns">
<label>Ordem</label>
<select name="">
<option value="antes">Antes</option>
<option value="depois">Depois</option>
</select>
</div>
<div class="large-2 columns">
<input type="button" class="button tiny success btn_remove" value="Remover" style="margin: 1.375rem 0 0 1.5625rem; ">
</div>
</div>
</form>
I'm already using jQuery in the project.