What is the difference between creating an event using initEvent and later dispatching the event using dispatchEvent in JavaScript and using jquery’s trigger(‘click’) trigger
What is the difference between creating an event using initEvent and later dispatching the
Share
jQuery’s
triggerfunction is not the same asdispatch, see the following table from bugs.jquery.com/ticket/11047