Hello,
I am new to share point, and the only knowledge I have with the app is you tube and searching for troubleshooting my issues. I have created a script within the the content editors, and the functionality I am wanting is happening, but only to the first page of my list (the first 30 items). how can I get this content editor script to apply on all items, along with any future items to be added. any help on this would be greatly appreciated.
Below is the script that I have written into the source of of my content editor (in case the issue lies within):
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script><script>
$(document).ready(function(){
$Text = $("td .ms-vb2:contains('Completed')").filter(function() {
return $(this).text() == "Completed";})
$Text.parent().css("background-color", "#00FF66");
$Text = $("td .ms-vb2:contains('Received')");
$Text.parent().css("background-color", "#FFFF66");
$Text = $("td .ms-vb2:contains('In Progress')");
$Text.parent().css("background-color", "#3388EE");
$Text = $("td .ms-vb2:contains('Canceled')");
$Text.parent().css("background-color", "#FF0000");
}); </script><br/><br/><br/><br/><br/><br/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$Text = $("td .ms-vb2:contains('Completed')").filter(function() {
return $(this).text() == "Completed";})
$Text.parent().css("background-color", "#00FF66");
$Text = $("td .ms-vb2:contains('Received')");
$Text.parent().css("background-color", "#FFFF66");
$Text = $("td .ms-vb2:contains('In Progress')");
$Text.parent().css("background-color", "#3388EE");
$Text = $("td .ms-vb2:contains('Canceled')");
$Text.parent().css("background-color", "#FF0000");
}); </script><br/><br/><br/><br/><br/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$Text = $("td .ms-vb2:contains('Completed')").filter(function() {
return $(this).text() == "Completed";})
$Text.parent().css("background-color", "#00FF66");
$Text = $("td .ms-vb2:contains('Received')");
$Text.parent().css("background-color", "#FFFF66");
$Text = $("td .ms-vb2:contains('In Progress')");
$Text.parent().css("background-color", "#3388EE");
$Text = $("td .ms-vb2:contains('Canceled')");
$Text.parent().css("background-color", "#FF0000");
}); </script><br/><br/><br/><br/><br/> <br/>