I'm trying to join those 2 codes, but I kind of confused with jquery and qtip selector. Any tips?
<a href="#" class="linkClass">link 1</a>
<a href="#" class="linkClass">link 2</a>
$("body").on("click", "a.linkClass", function () {
});
and
$('?').qtip({
content: 'Hello 2nd Test',
show: 'click',
});
Here's the correct use of click event for the show option. You don't need the click handler for the link before it.
$('.linkClass').qtip({
content: 'Hello 2nd Test',
show: { when: { event: 'click' } }
});