I am working with SharePoint list and I need to change the Number field color if it is greater than 60. I tried to change the code below but it did't work. I also checked all answers but none of them solved my problem.
This is my code which didn't work (I tried to use gt)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"type="text/javascript"></script>
<script>
$(document).ready(function(){
$Text = $("td .ms-vb2:gt('60')").filter(function() {
return $(this).text() == "td .ms-vb2";})
$Text.css("background-color", "#00FF66");
});
</script>
I also used calculate column as you said but it contain error: