Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Pretty new to jQuery trying to do something (hopefully) simple with SPServices

$
0
0
The list that I am using here is just a standard SharePoint calendar, with standard calendar list columns, and I added a column (checkbox) for the alert.

Also, should update that the last line in the code
$('span').filter(function (index) { return $(this).text() === alertTitle; }).css("color", "red");
The calendar event titles are sitting in <span> elements on the page. Using $('p').filter turns the entire paragraph red as long as it contains a match to alertTitle. Using span solved this problem allowing me to change only the title text as I wanted.

Viewing all articles
Browse latest Browse all 6517

Trending Articles