Hi Lallo,
I'm not sure that I entirely understand what you are attempting to
accomplish and how removing the title attribute is working for you.
When I go to the provided page and attempt to inspect it, I see a lot
of title attributes being rapidly added and removed from the div
containing the calendar item.
Nevertheless, let's say you have the following:
<div class="ms-acal-item" id="foo">
<div class="ms-acal-sdiv">
7:00 pm <a href="/Communications/Events/Pages/eventdisplay.aspx?
EventID=2262">​Mayan Elder</a>
</div>
</div>
the following script will do what I think you want to accomplish:
<script>
function removeThatAnchor() {
var innerDiv = $('foo').select('.ms-acal-sdiv')[0];
var aToRemove = innerDiv.select('a')[0];
var aText = aToRemove.innerHTML;
aToRemove.remove();
innerDiv.update(innerDiv.innerHTML + " " + aText);
}
</script>
Bernard
On Mar 7, 12:06 pm, lalov1 <
lallo.vi...@gmail.com> wrote:
> Hello all,
>
> I'm new to prototype and am trying to achieve the following. I have
> the following title text "1:00 pm - 2:00 pm <a href="
http://www.google.com">Link Goes Here</a>"