Twitter bootstrap – Dynamically change bootstrap tooltip placement
I tried to change the tooltip placement dynamically but it does not work. <input type="text" id="sample" title="Tip"> <button name="change me" id="changeBtn">Change Tool Tip!</button> And for js: //Initiall tooltip for all elements $("[title!='']").tooltip(); $("#changeBtn").click(function () { //Change tooltip placment $("#sample").tooltip({placement :…