I have the following code
http://bc.coverstar.com/images/error.gif
Why am I getting a syntax error after my Razor comment??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The correct way is to write
or
UPD:
In order to use Razor syntax within JavaScript, code should be wrapped within
<text>tag. E.g.:Note:
texttag won’t be seen in output.