Most voted "javascript-events" questions
None
Learn more…279 questions
Sort by count of
-
-1
votes1
answer132
viewsHow to remove an HTML element with Javascript
Hello! Can someone help me? I’m starting Javascript and I’m having a hard time removing an HTML element with Javascript. I even managed to remove the product name and price, however, when it is…
-
-1
votes1
answer197
viewsHow to reload an HTML table and its data after the click of a button using javascript?
I am making a form in HTML and at a certain point add some information and step to an Array in javascript through an onclick function on a button and after that I would like the information that is…
-
-1
votes2
answers124
viewsOnclick event in two different pages
I’m practicing in JS and decided to create a program... a barbecue grill. The point is, I created two pages index.html and the second so that when the user click the button calcular, it is…
-
-1
votes1
answer152
viewsHow to call a pure java script function when unchecked and marked a checkbox?
How to do this in pure java script? because there is a need to change the values of an input when checkbox is checked and unchecked. I want basically that when checking the checkbox the values add…
-
-1
votes1
answer108
viewsHow to use for in Javascript to view photo gallery
So, I’m still pretty weak on javascript.. I’m looking to learn more. It is a very simple code, are two "div", div thumbnail and maximized div, my CSS code displays in a floating banner the maximized…
-
-1
votes1
answer39
viewsI can’t access the player’s Boolean, how do I proceed?
the code import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import…
-
-1
votes1
answer62
viewsHelp to call function
Hello, I am in a project of a translation of a system that is actually a directory structure and I decided to use Google translator to do this, using the following block of code <script> var…
-
-1
votes1
answer74
viewsHow to limit the amount of characters that one input text assigns to another in Javascript?
Dear ones, researching about my question, I found something similar in ONLY in English, but I still can’t limit the characters that the "Title" input duplicates in the "Material Code", even though I…
-
-1
votes1
answer45
viewsPrevent user from typing street type
My form has a drop for TYPE OF BACKYARD (Alameda, Avenue, Way, road, etc. the list is not large and could be included manually within the if) and an input to enter the NAME OF THE BACKYARD. I need…
-
-1
votes1
answer37
viewsHow to load a JS script when the page is not cached?
I’m developing an extension (just for me for now) for Microsoft Edge Chromium that changes the Github source, but it doesn’t change when I reset the page cache, here’s the script I made (it’s just…
-
-1
votes1
answer82
viewsHow to get the "value" of a select in Reactjs
I made the following code, I would like to take the value of the "value" of the select, (the car color and show in the H3 tag when the button is triggered) I tried to use .target.value but without…
-
-1
votes2
answers23
viewsHow to disable the page scroll by going over an element using pure Javascript and (or) Css, and without hiding the scroll bar
Having an example of a slide that works with the mouse scroll, however it is horizontal. The problem is that the page’s vertical scroll conflicts with the slide’s horizontal scroll. How could I…
-
-1
votes0
answers23
viewshow to change the color of a text via a conditional with Javascript
Good guys, good guys! I am creating an app that counts the score of a volleyball game, but I would like to give an increment by changing the colors of the score to green for those in front, yellow…
-
-2
votes1
answer63
viewsWith what web language could I develop something similar to this image?
Well I’m willing to implement some such system on a website, as shown in the picture you choose where you are and where you want to get and the mode and appears a value, Could someone give a light?…
-
-2
votes1
answer1084
viewsUpdate in the database via javascript
I need to make a button that when the user clicks on the corresponding row he will execute the following code without refresh: Line Code: mysql_query('UPDATE tbl_publicacao SET status = S WHERE…
-
-2
votes2
answers96
viewsTrigger function after change in input without Submit
Good morning/ Good afternoon/ Good evening Here is my problem: I need that as the user goes typing in the field my function is triggered, without need to give a Submit. I’m trying to use the change…
-
-2
votes2
answers873
viewsJavascript does not load all functions
Have (a|a) (great|great) (day|late|night)! All right! When inserting many functions in a <script type="text/javascript"></script> My code is not running all of them! The browser console…
javascript javascript-events click events event-listenerasked 6 years, 5 months ago Leonardo Lima De Sousa 29 -
-2
votes2
answers128
viewsWhy do onclick events on table lines not work after loading?
People, when I position the mouse arrow should appear a hand or a vertical dash, and still without action when I click. foreach($campeonatos as $campeonato){ //ta no select echo "<tr…
-
-2
votes1
answer35
viewsImage is not changing when I click (javascript)
I’m doing an old game and added an eventListenner to each space, so that as soon as I clicked, the image would change. But it’s not working and I can’t understand why. Follow js, HTML, CSS and…
-
-2
votes2
answers34
viewsError with asynchronism in Javascript
Guys, have a list (on a web page) that when I scroll it carries new elements, Suppose it is the list [john, paul, peter], by giving scroll as said earlier it will hypothetically carry the elements…
-
-2
votes2
answers180
viewsKeyword Search Assign If and Else with Javascript
Hello folks I am trying to make an automated freight selection in my shop, why the integrated shop platform does not offer specific freight option for products, so I have: Conveyor: Only for…
javascript angularjs node.js javascript-events questasked 4 years, 5 months ago EDSON MACIEL DOS SANTOS 1 -
-2
votes1
answer50
viewssetInterval() I’m not getting it to work
I’m not getting to put the time because I created a Carousel and wanted to put a 4 seconds interval for iteration . <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
-2
votes2
answers1463
viewscreate dynamic select with Reactjs + Hooks
Hello. I am trying to create a form with four selects (Animal, Size, State and City) the state and city selects that are being a problem. One makes a request to present the Brazilian states (is…
-
-2
votes1
answer33
viewsRegister cookie after pressing button
Hi! I’m trying to create a pop up div that will show the latest video from my Youtube channel when a user browse the site, however, there are some conditions: It should continue to appear on other…
-
-2
votes1
answer32
viewsEvent Click, take the value of line input dynamically
I have the following code below <body> <table> <tr> <th>Company</th> <th>Contact</th> <th>Country</th> </tr> <tr class='item'>…
-
-2
votes2
answers60
viewshow to enable and disable an onclick function in javascript
<div onclick="theme()" class="theme"> <img id ="theme"src="elements/dark.svg"/> </div>``` ______________________________________________ let bodydark =…
-
-3
votes2
answers75
viewsHow to hide Divs from onClick event in input
with a doubt of those. I’m remaking a page a medical site where has a search engine diseases by the letter index,A,B,C,D,E............ On the page, there was a space for the search buttons, I’m…
javascript jquery html5 bootstrap-4 javascript-eventsasked 4 years, 5 months ago Pedro Henrique Silva de Deus 3 -
-3
votes1
answer58
viewsmy Boolean does not respond , what should I do?
my code is public class Game extends Canvas implements Runnable,KeyListener{ private static final long serialVersionUID = 1L; public static JFrame frame; private Thread thread; private boolean…
-
-6
votes1
answer57
viewsHelp checking
I’m with making a record that I need verification prints an error if any of the options are changed. My code: $(document).ready(function(){ $("#concluir").validate({ rules:{ usuario: { required:…