Posts by Jhonatas Flor de Sousa • 156 points
7 posts
-
0
votes1
answer103
viewsQ: How to run a Javascript function after loading the DOM using React Hooks?
I need to create several li tags based on an array and then insert them into a div, however I need to wait for that div to be created before doing so. Since React doesn’t have Domcontentloaded what…
-
1
votes2
answers152
viewsA: How to put id value contained in input elsewhere on the javascript page?
If I understand this: To get an id value you use document.getElementById, example of use: var caixa = document.getElementById("divcaixa"); caixa.style.display = "none"; To get value from an input do…
-
2
votes1
answer596
viewsQ: How to display style and run javascript along with html on Node Js?
I started to learn Ode js, but I face a problem when rendering a project composed of: Html, css and javascript. HTML is uploaded and opens, but css doesn’t work like javascript does. codigo Node:…
-
3
votes1
answer1797
viewsQ: How to use the if block with variable types in Python?
I am creating a program in Python and need that necessarily the data of the ID field are integer numbers. Basically I want to enter the block if depending on the type of variable I get. Example: ID…
-
2
votes4
answers1643
viewsQ: Variable in message box c#
How to put a variable inside the message box? The code comes below I think is self-explanatory. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using…
-
0
votes2
answers554
viewsQ: How to make the main form invisible c#
How do I make the main form created by Visual Studio invisible after opening another one? I tried to use the "Hide();" command, but I was unsuccessful. code : using System; using…
-
1
votes0
answers169
viewsQ: How to pick up part of an image using bitmap C#
Guys, I’m studying bitmaps, and I downloaded a pdf that said an image was an array of pixels. Since it is a matrix (which is quite logical) there is how to define points within the image, mark a…