Welcome to WebmasterWorld Guest from 54.147.134.218

Forum Moderators: open

Message Too Old, No Replies

removeattr title

removeattr title mouseover

     
3:32 pm on Jun 18, 2012 (gmt 0)

Junior Member

joined:June 6, 2012
posts: 104
votes: 0


Hi all,

I'm trying to remove the title attribute from a span when you hover over it with a mouse.

I'm calling this in the head section along with a link to the latest jquery ui:

$("#remove").removeAttr("title");


Here is my html:

<li><a href="javascript://" title="#content-1" class="toggle"><img class="toggleImage" src="images/plus.png" /><span id="remove" title="Hi">Boarding</span></a>


Am I missing something or should this work?
3:33 pm on June 18, 2012 (gmt 0)

Junior Member

joined:June 6, 2012
posts: 104
votes: 0


The toggle that I'm using needs the title attribute in the a element so that is why I'm adding the span tags to it.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members