Posts by Leonardo Blanski • 69 points
4 posts
-
0
votes1
answer27
viewsA: Repeating instead of adding
Every return of the prompt is a string, in which case you are adding 2 string, where concatenation will occur. You can use parseint() to fix the problem. var valor = parseInt(prompt("calculo")) var…
javascriptanswered Leonardo Blanski 69 -
0
votes2
answers28
viewsA: For all input, is it always necessary to add a value? And how do I make value not change the placeholder?
Hello, all right ? The "value" property of an input refers to the value contained in it. In your case, you can create the input with the empty value property, (value=""), so that the placeholder…
-
0
votes2
answers65
viewsA: GET by passing all records in URL and POST Presents only the last record
I managed to solve. What happens is that as mentioned by Tiago, as I was sending a SUBMIT to the POST or GET, normal send the entire form. My solution was the following, I created a link next to the…
-
3
votes2
answers65
viewsQ: GET by passing all records in URL and POST Presents only the last record
Good afternoon guys, all right ? I’m trying to create a page to insert items inside a cart, this page keeps the client code and the command code in a variable and passes it between screens, on my…