0

I want to write the if condition by using greater than or less than symbol inside java script in xsl. I used like this '<' , but getting SyntaxError: missing ) after condition in the html.

Please share your suggestions.

<![CDATA[
    if(1 < 1){
        alert('yes');
    }else{
        alert('no');
    };
]]>
Ed Bangga
  • 12,879
  • 4
  • 16
  • 30
sridhar
  • 303
  • 5
  • 26

0 Answers0