Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

click

  1. J

    JavaScript Uncaught ReferenceError: displayText is not defined at HTMLAreaElement.<anonymous>

    Here's an error that has been plaguing me every time I try to add a function from within an onclick. It happens for seemingly no reason. Here is the code: export class Clickables { constructor(game) { this.game = game; this.doOnce = false; this.textDisplaying =...
  2. E

    Autoclick print button goes into a loop

    Hi, could you help me please? From a Chrome extension I would like to autoclick on print confirmation ("button confirm"), but this script partially works, as the page refreshes endlessly in a loop. setTimeout(function() { labels = document.querySelectorAll('label'); if (labels[1].innerText...
  3. I

    JavaScript How to make navigation close in JS when clicking somewhere else?

    I know this is a frequently asked question but I am not really familiar with web development and this is the only thing I need to get done. This is how the navigation javascript snippet currently looks like: const hamburger = document.querySelector('.hamburger'); const navItem =...
  4. A

    Why is input mouse clicking not working on WebGL build?

    Hi, I made an FPS game in unity3d and exported it to webgl (unity play). When I played that, however, and clicked on a gameobject, nothing happened. The gameobject was supposed to rotate on click. Even when I tried clicking on other similar gameobjects, the same issue persisted. I'm not sure...
  5. C

    JavaScript Click Button

    Hi, I have this code: which makes me have a button (Click Me) where every time I click it, the number changes upwards (from 1 to 99). Whenever it reaches 99, another button appears (Reset Me) that makes the count start again. - This makes it necessary to have two buttons. What I would like...
Back
Top Bottom