Hello World jQuery Code not working
<p>I'm trying to get my system set-up to learn jquery and I can't even seem to get a simple hello world program to work and I'm not sure why.  It seems like it should work fine.</p>

<p>I'm using CI so here is my controller followed by my view.  Thanks.</p>

<p><code>


<pre><code>class Java extends Controller{

    function index(){
        $this-&gt;load-&gt;view('java_view');
    }

}   
</code></pre>

<p></code></p>

<p>The view file:
<code>
   
   </p>

<pre><code>&lt;script type = "javascript" src="http://localhost/ci/JS/jquery.js"&gt;&lt;/script&gt;

&lt;script type="javascript"&gt;   
   $(document).ready(function() {

        $("#hi").click(function() {
            alert("Hello world!");
        });

   });
&lt;/script&gt;
</code></pre>

<p></p>

<p></p>

<pre><code>&lt;a id = "hi" href=""&gt;Link&lt;/a&gt;
</code></pre>

<p></p>

<p>
</code></p>
