Posts by Daniel Leite de Oliveira • 89 points
5 posts
-
0
votes1
answer1943
viewsA: Table with Radio input to pick the selected value
Use the mercy Document.querySelectorAll to search for the desired element. It will return an array, as it is an input of type radio, you will only take the element [0]. input[type=radio] - finds all…
javascriptanswered Daniel Leite de Oliveira 89 -
2
votes1
answer264
viewsA: Stop function (clearInterval), inside the object does not work
You need to put the setInterval return inside a variable, and then use clearInterval. Try something like: var kissesAni = { interval: null, init: function () { this.interval =…
javascriptanswered Daniel Leite de Oliveira 89 -
1
votes1
answer90
viewsA: Date format in select
Use the following code: query.setParameter("dataDe", dataDe, TemporalType.DATE);
-
-1
votes2
answers548
viewsA: How to generate error in logerror.txt file?
If your problem is with creating the file, read this link: http://php.net/manual/en/function.fopen.php But you can use this snippet of code: $arquivo = "logerro.txt"; $file = fopen($arquivo, 'a');…
-
0
votes2
answers271
viewsA: Print PHP array data
You can make the following code: $titles = ""; foreach($array_resultados as $key =>$value){ $titles .= "<label><b>".$value['title']."</b></label><br>"; } echo…
phpanswered Daniel Leite de Oliveira 89