SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Has anyone been able to successfully remove the alt tags/(hover text) from events in the sharepoint 2010 calendar. I am trying to use Jquery to strip them out, but am having no success.

I have even tried the following to remove all alt tags:

$(document).ready( function(){ $('a').removeAttr("alt"); });

Any help will huge. I am presenting the calendar to the execs tomorrow afternoon and need a quick fix.


share|improve this question
Note I've also tried ms-acal-default-hover in the above code – JR_ATLDev Apr 24 '11 at 15:15
up vote 3 down vote accepted

Your first issue is that the hover text is not in the alt attribute of the a tag. I think it is actually in the title attribute of a div tag.

But there's a bigger issue. The SP 2010 calendar is rendered asynchronously. When you use $(document).ready, your script runs too early, before the calendar is rendered on the page. Even if you delay your script, it won't work if your users navigate to other months.

A workaround I have used is to run the script at regular intervals, every 100 or 200 ms. See an example here:

share|improve this answer
Christophe, pleasure to meet you. It was your solution I used. I found in a comment a fix you recommended: November 9, 2010 at 3:01 am Christophe Shane, I found the time to look at the rollover issue, and here is how I fixed it: - in the script, look for this line: NodeSet[i].innerHTML = CellContent; -replace it with: NodeSet[i].innerHTML = CellContent; NodeSet[i].parentNode.parentNode.title=NodeSet[i].innerText || NodeSet[i].textContent; – JR_ATLDev Apr 25 '11 at 18:35

Anchor tag uses title attribute to show a tooltip try to remove it, here is your code

$(document).ready( function(){ $('a').removeAttr("title"); });

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.