Questions tagged as 'click'

1
answer

Click event. Display message in current form and open new form

I need to make the click event of a button on a form open another modal form. While the other form is loaded, I need to display the user a message on a StatusLabel from a StatusStrip. (a msg of type ... Wait for the configuration to be loaded .....
asked by 30.10.2014 / 13:47
2
answers

Javascript does not get changed array before the click

I have a click code: var layerMap = []; $(document).on('click', '#TipoMapa', function(){ console.log(layerMap); }); And I have a code that changes the layerMap variable: $(document).on('click', '#tipo', function(){ layerMap['...
asked by 19.12.2017 / 14:12
3
answers

Click and hold the Button / Listview

How do I program to click and hold down a method other than just a normal click? I would like tips, tutorials something that can help me. I'm having a new problem I need to use the OnItemClick method and the onItemLongClick method already...
asked by 05.05.2014 / 14:07
1
answer

Auto click button with Tampermonkey

I have a button on a website, which is to thank, I would like to know how to make a script for Tampermonkey, and that when the page loads, it runs this click on this button, based on class thank_user . Thank you This shoul...
asked by 02.06.2017 / 07:05
1
answer

Click and hold in ListView [duplicate]

How do I program to click and hold down a method other than just a normal click in the ListView? I would like tips, tutorials something that can help me. @Override public void onItemClick(AdapterView<?> parent, View view, int positi...
asked by 16.07.2014 / 15:32
4
answers

How to create a clickable div? [closed]

I have a div on my site and want to make it clickable through Javascript. How do I do that? Thank you.     
asked by 13.03.2018 / 16:58
1
answer

Double Click Android

I'm developing an application that has a list in RecyclerView and the idea is for the person to choose one or more products from this list and change color to show that it is selected, but in case the person chooses the wrong one, a doubl...
asked by 18.09.2017 / 21:55
1
answer

How to invert mouse click events?

I was struck by a recent question, where the% s of the left mouse button could in a specific case turn out to be right , and vice versa. p> Code var menulist = document.oncontextmenu; var menu = function(ev) { if (ev.button == 0 || e...
asked by 03.04.2017 / 11:56
1
answer

What alternative mode could be used to block the click effect on an HTML element?

Based on an example put by Sergio - How prevent a click on a link / anchor or element with event tied Example of my authorship var ancora = document.getElementsByClassName('baixar'); for (var i in ancora) { document.captureE...
asked by 02.04.2017 / 21:44
0
answers

Event triggered twice in the Jquery click

I'm having trouble with jQuery events on time. I've already used all best practices to stop the click event. Here are some examples: .off() e.preventDefault(); e.stopPropagation(); unbid('click'); Always when there is a click I do this fu...
asked by 07.06.2018 / 18:27