Use each():
$('.tippy').each(function() {
$(this).qtip({
content: {
url: "http://mydomain.com/product/mini/" + $(this).attr("id")
},
hide: { when: 'mouseout', fixed: true },
position: {
corner: {
target: 'bottomRight',
tooltip: 'topLeft'
}
}
});
)};
, $(this) , : ( , , this .tippy). $(this).attr() , qtip(). , , $('.tippy'), this, , window.