JavaScript Pop up : Invoking in JQuery
<p>In my application I am using a simple JavaScript popup and successfully invoking it this way-</p>

<pre><code>&lt;a href="javascript:popup('Hello World')&gt;Click Me&lt;/a&gt;
</code></pre>

<p>I was wondering whether it is possible to invoke the same popup on other jQuery events. For instance</p>

<pre><code>    $("#some_button_id").click( function() {

        javascript:popup('Hello World');

    });  
</code></pre>

<p>The above method doesn't work. Any other solution?</p>
