Someone can help me, I am dynamically creating elements dynamically inputs with the .clone () method with jquery but I want to change the name of the input that clono, for example if I have the following input
This is the input that clono
<input class="form-control" type="text" id="inputTemplate" name="inputTemplate">
After cloning I want to change the name, for example to:
<input class="form-control" type="text" id="inputclonado" name="inputclonado">