Hi, Can anyone please help me to check multiple conditions within a single if condition in jQuery Template?
I have 2 different values that I have to compare at the same time.
Current Code:
- {{if IsActive > 0}}
-
- {{else}}
-
- {{/if}}
Expected Code:
- {{if IsActive > 0 && isMobile = 1}}
-
- {{else}}
-
- {{/if}}
I tried the above way but it gives an error. In about code, if isActive > 0 and isMobile = 1 is true Then the code block of If should be run else code block of else should be executed.
Please help me, and suggest the right way to archive this requirement.