In Bootstrap 2.x, the answer is:
$('#sample').data('tooltip').options.placement = 'right';
However, from Bootstrap 3, all Bootstrap data is named using bs:
$('#sample').data('bs.tooltip').options.placement = 'right';
Code:
$("#changeBtn").click(function () { $('#sample').data('tooltip').options.placement = 'left'; $("#sample").tooltip('show'); });
Play it here
source share