Welcome to WebmasterWorld Guest from 50.16.78.128

Forum Moderators: open

Message Too Old, No Replies

removeattr title

removeattr title mouseover

   
3:32 pm on Jun 18, 2012 (gmt 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 Jun 18, 2012 (gmt 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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month