A
A
Andrew2015-02-01 21:32:06
JavaScript
Andrew, 2015-02-01 21:32:06

How can I find out which function works when a button is clicked?

Yes
When you click on it, a file selection window appears, then send this file to the server.
How to find out what happens after clicking on the "open" button in the file selection dialog?
(namely, which for example functions are performed).

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Ali Aliyev, 2015-02-02
@ali_aliev

Open Developer Tools in Chrome. There is a Sources tab. At the bottom right, expand the Event Listener Breakpoints list and check the box for any event you want to listen for.

I
ildar r. khasanshin, 2016-10-19
@ildarkhasanshin

in firefox in the inspector you can immediately see the event of the element https://s.mail.ru/Gi6q/BE3dWaNnZ
in chrome you have to look only in the event listeners tab on the right https://s.mail.ru/2LfP/B85b1z5Ed
it is possible to configure the chrome panel similarly to fox in this event display?
added later
so far I found the visual event extension, but it is not very convenient with it
added later
I noticed that if you remove the ancestors checkbox, then only the events of this element remain

I
Ilya Agarkov, 2015-02-01
@ElianL

chrome debugger, sort of allows you to monitor the call of everything and everything. If I'm not mistaken, then the Profiles tab.

E
Eugene Kubesh, 2015-02-01
@Basters

firefox firebug shows everything.
Example - prntscr.com/5zuqgh
and this without firebug - prntscr.com/5zuqri

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question