I have the following code:
$(document).ready(function() { $('a[rel]').each(function() { $(this).qtip( { content: { text: '<img class="middle" src="i/icon_processing.gif" alt="l">Loading...', ajax: { url: $(this).attr('rel') }, title: { text: $(this).text(), button: true } } }) .click(function() { return false; }); }); });
This code makes all rel on the pages work with the jquery plugin. The problem is that I have a specific div with some id that contains content with rel that should be excluded from this function.
source share