I have a button that adds inputs onclick
and I would like to be able to save or make the desired code in some for
for insertion into the database.
This is the code onclick
$("#add_iframe").click(function(){
var lengt = $('.thumb').length;
var tao = lengt + 1;
$("#list_iframes").append('<label>Iframe '+tao+'</label><input type="text" placeholder="Insira o Iframe do Youtube Aqui" class="form-control thumb" name="iframe" />');
})