Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How can I locate the js event handler code by inspecting the html element?

$
0
0

Can you try this in the console.

 

sap.ui.getCore().byId("buttonid").mEventRegistry["press"][0].fFunction

 

here buttonid - Id of the button

 

press - is the event i have attached to the button.

 

When you do this,

 

Capture.PNG

 

You will be getting the event .

 

Hope this will be of some help.


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>