Include jQuery the right way
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
<!--
WordPress already includes a copy of jQuery so there is actually no need to upload it on to your server. It must be above the wp_head function
-->
<?php wp_enqueue_script("jquery"); ?>
<!-- You can now call your script after the wp_head function. -->