Sol Web Solutions Blog

Sol Web Solutions Blog is aimed to help, inform, educate and enable our site visitors.

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Login
    Login Login form

SharePoint 2007 Calendar View to Hide 12:00 AM

Posted by on in SharePoint
  • Font size: Larger Smaller
  • Hits: 2542
  • 0 Comments
  • Subscribe to this entry
  • Print

Dealing with SharePoint 2007 Calendar view. We are trying some javascript via a content editor to hide the "12:00 AM" when viewing the data from a calendar view.

Via a Content Editor Web Part we hid all instances of "12:00 AM" via:

<script type="text/j-avascript">
var el = document.getElementsByTagName('a');

for(var i=0; i < el.length; i++) {
      el[i].innerHTML = el[i].innerHTML.replace("12:00 AM","");
    }
</script>
0

Comments

  • No comments made yet. Be the first to submit a comment

Leave your comment

Guest
Guest Wednesday, 20 September 2017

Help Today

Send an email here!

Sol Web Solutions will be glad to help you anytime with general or technical questions, suggestions or comments.

Website Hosting

Web Hosting

Sol News

We will not share, trade, or sell any of your information in any way. Your privacy is completely respected.