Posts by Denali • 103 points
7 posts
-
5
votes5
answers142
viewsQ: what is the best way to create elements?
for(var i=0; i< numTotalPerguntasDig; i++){ strInterface += "<ul>"+ "<li class=\"col-md-2 \">"+ " <button type=\"button\" class=\"btn btn-danger btn-info-bloco form-control\">"+…
-
0
votes1
answer114
viewsQ: using sortable dynamically
every time I drag and "drop" the bar from input of the kind text within the buttons, the same input bar must be generated below the header menu . Problem: Every time I drop the input inside the…
-
2
votes1
answer69
viewsQ: what is faster and lighter to render (ul-li or table)?
I am making a dynamic menu with table (6 columns already defined and the row will vary) and bootstrap. would like to know what is the best structure to build a dynamic menu (the user will choose…
-
2
votes3
answers2116
viewsQ: How to get the index of the button clicked?
I’m using a loop to generate elements dynamically: for(var i =0; i< arrSequencia.length;i++ ){ strInterface += "<tr class='formulario'>"+ "<td class='col-md-1'>"+ " <input…
-
-1
votes1
answer71
viewsQ: Is there a Debugger showing why my code does not run in a particular browser?
I used a lot of javascript/jquery to build a project, but I ended up testing only on Chrome (it’s running perfect), so I decided to test it in firefox and realized that several features are…
-
0
votes1
answer82
viewsQ: Help to build a json file
arrayPerguntas = [{ bloco: $("#bloco-num").val(), perguntas: [{ numerodapergunta: numeroDaPergunta[0].value, numerodaperguntaSemPonto: retiraPonto(numeroDaPergunta[0].value), descricaoQuestao:…
-
0
votes1
answer517
viewsQ: How to print a JSON array?
var listaNomeProjeto = [{ "nomeProjeto": "NomeProjeto1", "subProjeto": [ "Sub Projeto1", "Sub Projeto2", "Sub Projeto3", "Sub Projeto4", "Sub Projeto5", "Sub Projeto6", "Sub Projeto7" ] },{…