How can I determine exactly which javascript or jquery command is being fired when I click certain items on my page?

See screenshot to understand which part of the page I am refering to.

The four large square thumbnails you see are a commonly used script called Owl Carousel.
It works by clicking the square bullets underneath or by clicking and dragging the thumbnails.
I need some jquery or javascript that can capture and return the precise javascript code that is executed when the click or drag events occurs.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
If you have FF with Firebug and you open the console (right click page and Inspect Element) - on the right hand side there is a tabbed window with the following tabs

Click events to see what is loaded for different Items

Chrome there is a similar window "Event Listeners"

Start with those.
badwolfffAuthor Commented:
A little while back I can't remember where but I saw on a site some sort of jquery event catcher or listener which caught the on click or on drag even and told exactly what code was being executed in the console log. Do you by any chance know how to do that?
Julian HansenCommented:
You mean something like this - when you click on an item it shows what events are bound to that event, in the console window.
  $(document).on('click', function() {
    console.log($._data($(this)[0], 'events'));

Open in new window

Working sample here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
badwolfffAuthor Commented:
Will check today
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.