hello, i'm having trouble with jquery navigator i don't think the problem is my code

<script>
       $(document).ready(function(){
           alert( "welcome");
           alert("twice alert");
       });
   </script>

in chrome i have this error: Uncaught SyntaxError: Unexpected token <
in firefox i have this error : SyntaxError: expected expression, got '<'
i looked on astackoverflow and many researches on google but couldn't find solution !

HI JamesCherill, thanks for the reply for a moment i felt a litle stupid but no this ) is not the problem i just tried

Actually, looking at it now, it doesn't look un-matched to me anyway. "senior moment"?
Which < is it complaining about - line 1 or 6?

hi thanks a lot i found i should use <script> </sript> cause the file actually in the html page,