I am making a dynamic menu with table (6 columns already defined and the line will vary) and bootstrap. I would like to know what is the best structure to build a dynamic menu (the user will choose several options, will be able to clone the line, etc.)
for(var i =0; i< arrSequencia.length;i++ ){
strInterface += "<tr class='formulario'>"+
"<td class='col-md-1'>"+
" <input type=\"button\" class=\"btn btn-danger btn-info-bloco sembloco\" value=\"Botao "+arrSequencia[i]+"\"/>"+
"</td>"+
"</tr>";
}
I'm implementing this way ... Is ul-li faster and lighter to render?