DataTables / VisualEvent

Visually show Javascript events on a page
http://sprymedia.co.uk
1.04k stars 162 forks source link

How can I find out EXACTLY what is being triggered from Visual Event? #65

Open IAmOrion opened 4 years ago

IAmOrion commented 4 years ago

Here's my scenario...

I'm trying to track down and if needs be fire the event manually.

Screenshot 2019-10-23 at 12 57 46

Visual Event says there's a "change" event on select#Size.single-option-selector. If I click trigger event it works as expected.

If I try and do

$('select#Size.single-option-selector').change(); or $('select#Size.single-option-selector').trigger('change');

it does nothing, so I need to figure out exactly what that "trigger event" is doing so I can manually do the same thing

DataTables commented 4 years ago

This is the code that Visual Event uses to trigger an event.

IAmOrion commented 4 years ago

Thanks for the super quick reply. I think I'm too old/stupid to figure out how to make that relevant :( ha

I shall try and fathom it out though