Posts by Raul Cesar • 86 points
13 posts
-
-1
votes1
answer48
viewsQ: Help with array and map
I have this code, I would like to pull all selected elements and play in an array using map, what am I missing? because it does not return anything; $('#gerar').on('click',()=>{ var selecionados…
-
0
votes1
answer187
viewsA: Sending form with attachment - Javascript
The guy answered the question, but deleted the answer, well that’s the answer he had posted and it worked, I’m grateful! function uploadFileToServer() { var file = event.srcElement.files[0];…
-
-2
votes1
answer187
viewsQ: Sending form with attachment - Javascript
Good morning to all, I am developing an extremely simple e-mail sending system using javascript (Jquery). I can already send the email using smtpjs. the first part of my system is OK. However I…
-
0
votes2
answers61
viewsA: How do I check the internal contents of an array?
face to check if the array returns empty, you can use the method length, the question is unclear. However, you can do the following. var teste = [1, 2, 3, -4, 0] if(teste.length > 0){…
-
0
votes1
answer105
viewsA: Ionic 4 html form completion confirmation
Good night, my friend, There is a library on Ionic called formControl. The one studied in it, follows link about it https://forum.ionicframework.com/t/a-good-form-validation-example/117960 I’d make…
-
0
votes3
answers137
viewsQ: Help with Append()
Follows illustration for clarification I’m stuck on a logic and my problem is this, I have this html code: <ul class="card"></ul> <button> Aperteme </button> and do an action…
-
2
votes1
answer102
viewsA: Select menu when clicking
Opa Amigo, Using jquery da to do as follows: $('a').on('click',function(){ $(this).toggleClass('active') }) takes all elements a using the $('a') selector and adds a click reader for each of them.…
-
3
votes2
answers62
viewsA: Why do we use the word 'value' in the function?
The value is an internal variable of the function, it could be any name, it expects to receive an element to work on it, in case the value, this variable can be used within the function to work its…
-
0
votes0
answers78
viewsQ: Node js error importing module
Good afternoon to everyone, I am trying to organize my project, I prescribe to work with Ode, I have a function that creates a chart, I separated it into a separate file and exported this function…
-
-4
votes1
answer36
viewsQ: Help with Array
I’m having a problem with javascript. I have an array with 500 positions, I want to print all the data in my html. But when I throw this dice into a div it pulls only the last element. I appreciate…
-
0
votes1
answer44
viewsQ: Javascript help | Rename paragraph
Ola would like to know the following, as I would logica to rename a paragraph directly by html, for example. I have an empty paragraph, the user clicks on the paragraph and type a word from enter…
-
0
votes1
answer195
viewsQ: Move image while hovering over it
I’d like to help with a study I’m doing. How can I move an image, randomly and dynamically, by passing the mouse on it? I would like a line of reasoning to come up with a solution in my future…
-
-3
votes1
answer87
viewsQ: Java Interactions
Good morning to all dear programmers. I’m recently starting the JAVA language, I wonder if it is possible to perform as in javascript user interactivity with the software. Like an Hover that blurs…
javaasked Raul Cesar 86