Viewing 1 replies (of 1 total)
  • Pi Zi

    (@freelancephp)

    Yes, you could use JavaScript to add additional code to the onclick, like:

    jQuery(function ($) {
        $('body').on('click', 'a[rel*="external"]', function () {
            // additional code...
        });
    });
Viewing 1 replies (of 1 total)
  • The topic ‘onclick event’ is closed to new replies.