Questions tagged as 'eventos'

3
answers

Apply events with Javascript to elements of a class

I have a silly query maybe but I can not figure out how to do it, I want to do this same but with Javascript pure: $('.clase').click(function(){ $(this).toggleClass('activo'); }); What I can not do with pure Javascript is to apply th...
asked by 19.05.2017 / 18:27
1
answer

Register events in Laravel without using EventServiceProvider

I am developing an application in laravel organized in Modules. Each module has a ServiceProvider that instead of extending from ServiceProvider they extend from a class of their own that adds certain functionality. The problem...
asked by 03.10.2016 / 10:14
3
answers

The click event does not fire after reloading the content by an AJAX request in Symfony2

I have the following controller : public function indexAction(Request $request) { if (!$request->isXmlHttpRequest()) { $this->denyAccessUnlessGranted('ROLE_ESP_NAC', null, 'Imposible acceder a este recurs...
asked by 02.10.2016 / 01:34
0
answers

retrieve jquery event

I use the library jquery.mobile-events.min , to control swipe events in mobile. At a certain moment I am interested in stopping the sliding function. $(function(){$('#touch-zone').on('swipeleft', function(e) { alert('izq'); }) }); $(d...
asked by 18.12.2018 / 20:54
1
answer

test events during scene execution

I have two scripts: life: assigned to a gameobject Player StatusController: assigned to a panel where I have two images, one for life and the other for mana The life script has an event and its delegate, so that when the character's "li...
asked by 09.06.2018 / 10:28
1
answer

How do I execute two events at the same time?

I am developing a game which is for 2 players, in which two picture boxes must move if the W or S key is pressed, a PictureBox moves, and if you press the Up key or the Down key the other pictureBox should move, but both must react at the same t...
asked by 11.07.2017 / 04:44
1
answer

Help with ListBox

I need you to help me with this part of my code in VB, in the ListBox I have to show an IP address to verify certain data that I have to show on screen when I run the program I always get a Warning of    ArgumentException occured Empty pat...
asked by 09.06.2017 / 18:34
0
answers

Canvas image with on touch event

I ran into a problem. I need to draw an image (Drawable) on canvas and then be able to move it around the screen with an on touch. The image appears but I can not make it move. I have this code to make it move that worked well for me when I u...
asked by 26.05.2017 / 03:24
1
answer

Because changing the validation in the onchage event does not work for me

I have a problem with the following code. $('#selDocTipo').change(function () { var $optionSelected = $("#selDocTipo option:selected") var TipoDocId = $optionSelected.val(); // dni 8 pasaporte 10 tarjeta de secretaria $("#txtNu...
asked by 31.08.2016 / 19:44
1
answer

What is the name of the event of pressing and holding an item in Android studio?

I have a listview and I want that by pressing and holding an item for a few seconds a dialog with several options is displayed, someone could advise me as this type of event is called. Thanks.     
asked by 05.07.2016 / 08:21