I have a jquery template containing an if but it won’t evaluate the if – it just outputs the value as-is. I have found several examples and documentation showing that this should work.
What am i doing wrong?
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.
You have extra space in the template tags:
Yours:
Correct:
Tested it on JSFiddle.