I have a hard time making it work. I have a link that opens a jQuery UI dialog containing links. These links open a Bootstrap popup that contains an input field. For some reason, the input field is not editable.
See: http://www.bootply.com/Z46ZXA133U
Markup:
<div id="dialog"> <a data-placement="bottom" data-toggle="popover" data-title="Login" data-container=".ui-front" type="button" data-html="true" href="#" id="login">Login</a> </div> <form id="popover-content" style="display:none"> <input type="text" value="try changing me"> </form>
Script:
$( "#dialog" ).dialog({ height: 300, width: 350, modal: true, }); $("[data-toggle=popover]").popover({ html: true, content: function() { return $('#popover-content').html(); } });
source share