Questions tagged as 'eventos'

1
answer

How do I access the View that triggered one of the events in a TextWatcher?

Explanation: I have a common application where there are several components EditText , where I assign them a handler that would be this here: TextWatcher handler = new TextWatcher() { @Override public void onTextChanged(CharS...
asked by 04.04.2014 / 16:58
1
answer

How to limit subscribe in just one loop

I need to display an alert every time my main component changes route, so I created the following script in my AppComponent : constructor(private router: Router) { router.events.subscribe((val) => { alert(val); });...
asked by 20.11.2018 / 20:24
2
answers

Prevent multiple submissions with jquery

I have a table with several users, each line has a Button to delete that particular record, I have the following code: $('body').on('click', 'button[name="btn-delete[]"]', function (e) { e.preventDefault(); var action = $(this)...
asked by 10.09.2018 / 15:26
2
answers

Run automatic click on form input

I have a search form, and it lists details. when accessing the details it writes session, but when returning the list it saves the search in the session but it does not execute the search. What I thought was to perform a hidden input with id=...
asked by 19.09.2017 / 17:19
1
answer

Close element when clicking any other part of the page

When the event is triggered, the element opens, but after that it does not close. How can I do that by clicking outside the "infoValue" tooltipValor close? function formTips(){ var infoValor=document.getElementById("info-input-valor");...
asked by 28.03.2017 / 15:33
3
answers

Lock event click on element

I have a JS function that displays banners on my page if it is the first access of the day. In that popup there is an input for the person to enter with the email of it, but when clicking on the input, all the pop disappears (in fact this is the...
asked by 06.02.2017 / 14:32
1
answer

Synchronize ProgressBar with Execution of methods of a class

In my project I have a class that has three methods: static List<string> ListaArquivos(string path){...} static void CriaArquivoUnico(List<string> listaArquivos){...} static void AbreArquivoUnico(string pathArquivoUnico){...} Wh...
asked by 15.09.2015 / 19:42
1
answer

Prevent the event from being triggered 2 times

When I ask to open a modal for the first time it does the actions correctly, but when I close and open the modal again it performs the function twice, how do I avoid this? function acoesModal(){ $('div#fixa').css('z-index', '0'); $...
asked by 22.01.2015 / 13:45
2
answers

Infinite Loop in Event

I have a class called Dta that contains the following code: public event Dta._TimeOutEventHandler _TimeOut; public delegate void _TimeOutEventHandler(Dta dta); public void CheckTimeOut() { if (TimeOut == null) { TimeOut = new Ti...
asked by 10.06.2014 / 21:50
1
answer

Widget for Events

Good evening, I'm programming an Html / css site for a band. The client asked to have a session with the schedule, I found the bandsintown manager, but wanted some similar, where the client changes the information and appear on the site automati...
asked by 07.08.2014 / 05:44