Conditional format that recognizes > than or ≤
Posted: 2020-07-22 03:17
Respectfully request some assistance. For the following conditional format code, does anyone know what the replacement syntax would be for a value greater than (>) or less than or equal to (≤)?
V/r,
----------------------------------
<script>
$j(function(){
$j('.links-datecalc').each(function(){
var datecalc = $j(this).text();
if (datecalc == '9'){
$j(this).addClass('success');
}
if (datecalc == '7'){
$j(this).addClass('info');
}
if (datecalc == '-'){
$j(this).addClass('danger');
}
})
})
</script>
V/r,
----------------------------------
<script>
$j(function(){
$j('.links-datecalc').each(function(){
var datecalc = $j(this).text();
if (datecalc == '9'){
$j(this).addClass('success');
}
if (datecalc == '7'){
$j(this).addClass('info');
}
if (datecalc == '-'){
$j(this).addClass('danger');
}
})
})
</script>