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,200
  • 4
  • 14
  • 30
sridhar
  • 313
  • 5
  • 25

0 Answers0