Posts by veroneseComS • 2,752 points
368 posts
-
2
votes5
answers8190
viewsQ: Onclick event in image
Is there any way to put an onclick event in picture? I tested with a button and is working the call to function, however, I wanted to use an image. I tried something like: <a href="#"> <img…
-
1
votes2
answers59
viewsQ: Align images with description
I need to align two images so that they are centered, with a description below. I tried something like: <style> .thumb { width: 140px; height: 140px; position: relative; float: left; } .thumb…
-
1
votes2
answers4281
viewsQ: Sum variables value with foreach
I have a variable that performs a select function, returning from the database two values: $grupo = selectContas(); I would like to add these two values and store them in a variable, but only the…
-
0
votes1
answer450
viewsQ: I cannot recover id value through the POST method
I have the following functions: File registra_account.php: if(isset($_POST['acao'])){ if($_POST['acao'] == "inserir"){ inserirConta(); } if($_POST['acao'] == "alterar"){ alterarConta(); function…
-
0
votes1
answer131
viewsQ: Update mysql problem
I have a function that performs an update: function alterarConta(){ $dataemissao = $_POST['dataemissao']; $id = $_POST['id']; $select_fornecedores = $_POST['select_fornecedores']; $valor =…
-
0
votes1
answer78
viewsQ: How to verify variable has values?
I have a function that performs a select on the bank: function selectIdProdutos($id){ $banco = abrirBanco(); $sql = " SELECT * FROM produtos WHERE id = ".$id; $resultado = $banco->query($sql);…
-
3
votes2
answers735
viewsQ: Source with low html quality
body{ background: url('imagens/capa.png'); font-family: "Avantgarde", "TeX Gyre Adventor", "URW Gothic L", sans-serif; } .texto-capa{ text-align: center; color:white; display: table-cell;…
-
0
votes1
answer307
viewsQ: Navigation bar with more than one Dropbox in bootstrap
I tried to create a navigation bar where you have the following columns: Home, Registration -> Customer registration and consultation -> Customer consultation. When I am in the query menu I…
-
1
votes1
answer251
viewsQ: Error in update sql: Subquery returned more than 1 value. This is not permitted when the subquery Follows
I am performing a query to change the net cost of a product according to a brand, however, I get the following error message: Subquery returned more than 1 value. This is not permitted when the…
-
0
votes1
answer100
viewsQ: Change border-color according to the value of a jquery variable
I have a form and want to change the color of the border-color to red if the user/email has already been registered in my database. I tried something like: <script> $(document).ready(…
-
1
votes1
answer458
viewsQ: Returning Nan in function
Hello, I have a form with a radio button, if the option "Input" is chosen the form corresponding to the name "Output Value" is disabled and vice versa. I have a function that calculates the sum of…
-
1
votes2
answers427
viewsQ: How to give a disabled in a form depending on which radio button to choose?
Good afternoon... I have the following radio Buttons: <input type="radio" name="radio1" value="entrada"> Entrada <input type="radio" name="radio1" value="saida"> Saida I also have the…
-
1
votes0
answers294
viewsQ: Graphics using Chartjs, Mongodb and Angular
Good evening, I have the following model: var mongoose = require('mongoose'); module.exports = function() { var schema = mongoose.Schema({ nome: { type: String, required: true }, valor: { type:…
-
0
votes1
answer698
viewsQ: Error inserting data in postgree: column "test" does not exist
In a crud basic, I’m getting the following Node error: "Erro na inserção dos dados { error: column "teste" does not exist at Connection.parseE (C:\Users\SUPORTE\Desktop\NodeFINAL\appFinal\app1\nod…
-
1
votes1
answer1076
viewsQ: Input field is not loading default value "value"
I got the field: <div class="form-group"> <label style="color:white" for="valor">Valor</label> <div class="input-group"> <input type="number" value = "0"…
-
4
votes1
answer552
viewsQ: Calculate the sum of repeated elements in Angular-JS using ng-repeat
In the code below is displayed a list of expenses using ng-repeat. For each element the description and value are shown. What’s the simplest way to show this total? <table class="table…
angularjsasked veroneseComS 2,752 -
0
votes1
answer107
viewsQ: Is there a function that changes the background of an Activity in android studio?
Is there any way to create a function that changes the background of an Activity? I need a button that will change the Activity background
-
4
votes1
answer1215
viewsQ: How to change the background of a button when clicked?
I need to change the background of a button when clicked. Here’s the code I tried: private Button btn; private int colorFlag = 0; @Override protected void onCreate(Bundle savedInstanceState) {…