0

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 !

2
Contributors
4
Replies
20
Views
5 Months
Discussion Span
Last Post by christos_1
0

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

0

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?

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.