ollie314 / embeddedjavascript

Automatically exported from code.google.com/p/embeddedjavascript
Other
0 stars 0 forks source link

Is it possible to use "if" condition? #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by gotou...@gmail.com on 19 Sep 2010 at 7:41

GoogleCodeExporter commented 9 years ago
Appears that conditionals do work in the template - example:
<% if (TheColor == 'blue') {%>Color is blue<% } else { %>Color is not blue<% } 
%>

Original comment by iainmacn...@gmail.com on 9 Mar 2011 at 4:57