Add rel="xx" to jQuery a.link elements

Posted by Xavier on Stack Overflow See other posts from Stack Overflow or by Xavier
Published on 2012-10-14T09:17:09Z Indexed on 2012/10/14 9:37 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I use a little jQuery script to run a simple music player, but I'd like to add a rel="player" to the links in this jQuery script (the play/stop button for instance). This way I can exclude these rel="player" links from another jQuery script I use, because I don't want it to take the rel="player" elements into account.

I reckon this is fair simple but i don't really know how to to it.

Here is the jQuery script of the player, if it's ever necessary: http://hyker.be/cv/js/jquery.simpleplayer.min.js

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about links