Click on the event page F12 find an element bound

For example, I want to see the event bank account label is bound.

 

 

During operation using a Google browser

Step 1: Right → check on the element

 

 Step two: Click Event Listeners

 

 So you can see all of the events that element of the binding

 

 

The third step: Expand the click, click event method we can see the element is bound in

Line 46 and the jquery-ui-1.8.16.custom.min.js

distribute.js line 12

 

 

Step Four: Click to go respectively

At the cursor is to be executed when the trigger click event

 

 

 

 

Right you can choose to open a new window to view the js file, but after the contents are compressed, can not see the source code

 

 

 

add another point

If the Event Listeners window, nothing, that is, the element does not bind any event.

 

 That why click it to jump it, because it is a simply a link ah

 

Guess you like

Origin www.cnblogs.com/111testing/p/11448316.html