Posts by Cayo Souza • 75 points
8 posts
-
5
votes2
answers47
viewsA: How to make a text be edited only once in Javascript/Html
Disabling input works for you? function disable() { document.getElementById("myText").disabled = true; } <html> <body> Input: <input type="text" id="myText"> <p>Clique no…
-
1
votes2
answers124
viewsA: Array Duvida JS
Next time you post your attempt it’s easier to show you where you’re going wrong instead of just giving the answer! function produto(array){ //inicia resultado com o valor 1 let resultado = 1;…
-
0
votes2
answers77
viewsA: how to pass data in json format to a select?
I had this code here, see if it helps you :) var dic = { 'Cachorro': ['Poodle', 'Bulldog', 'Pinsher'], 'Gato': ['Gato - Siames', 'Gato - sei la'], }; $('#animais').on('change', function() { var…
-
1
votes3
answers906
viewsA: How to run the loop for 2 in 2?
I executed your code and the result was: aqui eu tenho o valor de0 aqui eu tenho o valor de2 aqui eu tenho o valor de4 aqui eu tenho o valor de6 Which leads me to believe that the problem is the gap…
-
-2
votes3
answers504
viewsA: JSON validation with more than one object
JsonArray value = Json.createArrayBuilder() .add(Json.createObjectBuilder() .add("resultado", " resultado 111") .add("peso", 98) .add("sinal", "-44") .add("nome",…
-
-1
votes5
answers1744
viewsA: Difference between back-end and front-end?
All you need a processing behind is back-end. In that case you will have to manipulate receive, manipulate and return data. Think front end simply as something will be displayed, styling. However…
-
0
votes2
answers1023
viewsA: How to hide text that appears after my domain in a URL?
You can also map the controller to "/" and use the Viewresolver to handle each view. In this case the controller would have to redirect the request to each appropriate view, returning different view…
-
0
votes1
answer467
viewsA: How can I add objects to a list dynamically through the views?
Class: Product List: Addresses Goal: Add an item to the list via the view. You can use a Ubmit in your view, which takes the necessary parameters for your address list and takes it to your method,…