I can't get the alert to fire. What am I missing?
<p>I can't get the alert to fire. What am I missing?
(the code below is inside a WP plugin)</p>

<pre><code>&lt;?php
wp_enqueue_script('jquery');
?&gt;
&lt;script type="text/javascript"&gt;
    jQuery('#myTest').click(function(){alert('hi');});
&lt;/script&gt;
&lt;?php
    echo "&lt;div&gt;&lt;input type='button' value='Test' id='myTest' /&gt;&lt;/div&gt;";
?&gt;
</code></pre>
