I made a custom module and I added the following code inside the php tag and also in my hook_menu function
drupal_add_js('jQuery(document).ready(function () { alert("Hello!"); });', 'inline');
I can't figure out why it's not firing.
When I look at the 'view source' of the page I do see this:
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery(document).ready(function () { alert("Hello!"); });
//--><!]]>
</script>