homepage Welcome to WebmasterWorld Guest from 54.198.140.148
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
removeattr title
removeattr title mouseover
brandozz




msg:4466749
 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?

 

brandozz




msg:4466751
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved