Share this post

Link to post

Share on other sites

The jQuery documentation for trigger seems to imply that you need to use the on method or one of its shortcuts to assign the event handler. That might mean it's not going to work correctly by using event attributes.