I need to open a new tab when an element is clicked with CTRL.
I can’t use link due to responsive issue.
Install the toolbox plugin
Type the following code
Thanks your your answer !
I have already tried but unfortunately it’s not working with CTRL keyboard shortcut. The url doesn’t open…
var e = jQuery.Event("click");
e.ctrlKey = true;
$('#your element id').trigger(e);
This topic was automatically closed after 70 days. New replies are no longer allowed.