Created by: nticaric
When the content is fetched via a callback function ,the current element should be passed as an argument. ie. if the following behavior is wanted:
//the content should be the href attribute of the currnet element
$(function(){
var options = {};
options.title = "Some title";
options.content = function(el) {
return $(el).attr("href");
}
$('a').popover(options)
})