Questions tagged as 'eventos'

2
answers

Delete event associated with an anonymous function

I have the following function that associates events with a series of elements: function colorCeldasActivo(color) { //Damos eventos a todas las celdas var celdas = document.getElementsByClassName("celdadibujo"); for (var i = 0; i &l...
asked by 09.02.2018 / 04:40
2
answers

Deleting events in jquery to dynamic elements

Hello, I have the following problem. I searched a lot, here and in google and I can not find the problem. I have a table that is updated dynamically: PHP + Mysql + Jquery The table that is initially loaded looks like this: <table clas...
asked by 03.05.2018 / 16:58
2
answers

How do I avoid the click event if it does not? - Angular

I have this button in Angular, that even if I have it disconnected, I open the file explorer, I usually do it is <miBoton (click)="estaDesamblado?'':miEventoClick()" > Some correct way to solve it #abrirArchivo{ display: no...
asked by 20.06.2018 / 17:18
1
answer

Problem with slideToggle

The problem is that when I want to put myself in the search bar I hide again and I do not know how to make it stay when I'm on top of it. <div style="display: none;" class="input-group mb-3" id="barra"> <input type="text" clas...
asked by 22.10.2018 / 09:43
2
answers

How valid the state of both select at the same time!

I have a problem validating the indexes of the selected options in a select since the event only runs in the select utlimo, since the selected index == 0, it is as if the for would not work the button must be activated only if both select are...
asked by 05.05.2018 / 23:46
2
answers

How do I launch custom events in java?

I have been investigating on how to add my own events to classes, but I have not seen any example of more than one event, so I have investigated how the java api had done it, and this is my result: public class EventoUno extends EventObject{...
asked by 18.09.2017 / 10:57
1
answer

How to detect the right click on a JButton in java

I've been looking for the way but they all throw me a mistake, I'd like you to help me with this. I'm doing a minesweeper and I need to leave a caution flag when I right click. JButton boton = new JButton();     
asked by 05.03.2017 / 20:17
1
answer

Problems using getKeyCode ()

I'm starting to schedule events in java and I have a problem with getKeyCode (). In a JFrame of my program I added this.addKeyListener(lamina1); (lamina1 is an instance of a class that inherits from JPanel) this is the listener code: pu...
asked by 07.04.2017 / 02:52
1
answer

C # Events (difference with respect to a Delegate)

I am studying C # but I got to the subject of Delegates and Events, I know it is a delegate and how it works: The delegate is like an "encapsulator" of functions, where we can reference a method through an instance of the delegate. I searc...
asked by 05.01.2019 / 02:35
2
answers

Remove nodes created using EventListener

A few weeks ago I started with JavaScript , I just learned how to use EventListener , please help me, how can I remove a node created using EventListener ?. In the example I will show below I assign an EventListener to a bu...
asked by 02.08.2017 / 06:00