Javascript onclick and not mouseover
<pre><code>$(function() {
    $(".popup").hide();
    $(".clickMe").mouseover(function () {       
        $(".popup").show();
    }).mouseout(function() {
        $(".popup").hide();//Set this to default hide
    }); 
});

&lt;script type="text/javascript"src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"&gt;&lt;/script&gt;

&lt;a class="clickMe" href="#"&gt; Click here to see hidden item.&lt;/&gt;
&lt;div class="popup"&gt; You've found me! &lt;/div&gt;
</code></pre>

<p>I found this code that i would love to implement but unsure how. Instead of mouseover, how can i set it to onclick call instead? Thanks for your time.</p>
