How do i get the this property of the popover for twitter bootstrap parameter values, like i need to get the list item attribute i.e. data-boothtype to be used in bootstrap popover title? data-title is not enough though
HTML
<li class="booth" data-boothnumber="46" data-boothtype="prime" style="left: 240px; top: 30px;">46</li>
JS
$('.booth').popover({title: this.data-boothtype + "'s Booth", content: "test", placement: "right", callback:function(){ console.log(this)}});
PS: The callback function is a test unit from Callback function after tooltip / popover is created with twitter bootstrap?
$.fn.popover.Constructor.prototype.show = function () {
tmp.call(this);
if (this.options.callback) {
this.options.callback();
}
}
EDIT ok here narrowed down: http://jsfiddle.net/tHHQ6/