A very simple way is to apply the plugin using the class selector, for example, in anchors
$("a.qtip").qtip(); //Apply qtip, to only those links with qtip class on them
Then, to check if qtip has a link to them, check their class
$('a').click(function() { //whenever a link is cliked if($(this).hasClass('qtip')) { //check if it has qtip class on them //if it has //SCREAM: yes i found a qtip :D } });
source share