How to click html link with jquery function?
<p>I have a html link in which a modal window will be opened while clicking manually. Am using nyromodal, i want the modal window function to get triggered when the shortcut of ctrl+Q is pressed. the shortcut works well when we give just an alert. but not opening the modal.</p>

<p>I tried to trigger the modal function by defining the modal function in the shortcut. But no use. It will be fine if i can click the link dynamically using a jquery function. hopefully that might work. :( no ideas though. Any ideas and help thoughts are welcomed</p>

<pre><code>shortcut.add("Ctrl+Q",function() {
$('.nyroModal').nyroModal();
});
</code></pre>

<p>The usual modal function is</p>

<pre><code>$(function() {   $('.nyroModal').nyroModal(); });
</code></pre>

<p>It works fine when the link with class nyroModal is clicked but not with the shortcut</p>

<h2>html</h2>

<pre><code>&lt;a href="new_creation.php" class="nyroModal"&gt;Componenets&lt;/a&gt;
</code></pre>
