Wrong confirmation ID
  • Email
  • Favorite
  • Download
  • Embed
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

jQuery: out with the old, in with the new

by Remy Sharp on Jun 09, 2011

  • 939 views

 

Accessibility

Categories

Tags

jquery

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

Statistics

Favorites
2
Downloads
8
Comments
2
Embed Views
0
Views on SlideShare
939
Total Views
939

12 of 2 previous next

  • remy.sharp Remy Sharp , Developer, writer, thingymejiggy at Left Logic @mathias - absolutely right. I quickly added that slide last minute and I did have a gut feeling that .attr('href') was the source value of the markup, rather than the DOM. The real examples I see they don't care whether it's relative or absolute, and often it's used to get the hash out - which should just be this.hash. Thanks for the comment though - I'll update my future slides (/if/ I do this deck again... :) - cheers. 11 months ago Reply
    Are you sure you want to Yes No
  • mathiasbynens Mathias Bynens , Freelance front-end developer at Qiwi Slide 48 and 49: `$(this).attr('href')` equals `this.getAttribute('href')`, not `this.href`. The latter usually gets normalized into the full resolved URL while the attribute value can be a relative reference. 11 months ago Reply
    Are you sure you want to Yes No
Post Comment
Edit your comment Cancel

jQuery: out with the old, in with the new — Presentation Transcript