Posts by Raul Meira • 1 point
7 posts
-
0
votes1
answer237
viewsA: Change checkbox value from radio
There must be better solutions, but what I got was this: function soma_valores(campo) { if(campo.checked) { var valor_anterior = parseFloat(document.getElementById("Preco").value); var valor_novo =…
-
0
votes1
answer237
viewsQ: Change checkbox value from radio
I wish that when it was selected "brother" in the radio the value of checkboxes fold. function soma_valores(campo) { if (campo.checked) { var valor_anterior =…
-
-1
votes2
answers34
viewsA: Results of an inconsistent average calculation
Try to display the variavel 'media' instead of repeating the calculation expression in tabela
-
0
votes1
answer66
viewsA: Load checkbox explodes
Solved. Thank you for the comments that helped me to arrive at the solution. I created a if to check each checkbox, and thus fill them correctly. <?php $Oficina == $Oficina_Explode;…
-
0
votes1
answer66
viewsQ: Load checkbox explodes
I made a code with explode to carry checkbox of banco, however, it is only loading when it contains data in the exact order of variables, for example 'Theater 1, Theater 2' carries, but 'Theater 1,…
-
0
votes1
answer68
viewsA: Image preview
I got. Stayed like this: JS function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#blah') .attr('src',…
-
-3
votes1
answer68
viewsQ: Image preview
When I change the image, the preview of the previous images does not disappear... function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload…