How to prevent the popover div for hiding on clicking inside it for twitter bootstrap “dismissible popover”(data-trigger=“focus”)?

前端 未结 4 1351
时光说笑
时光说笑 2021-02-20 07:01

I have a a dismissible popover(data-trigger=\"focus\") with a text box inside it. But as soon as I click inside the text box to type it dissappear because of the \"data-trigger=

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-20 07:12

    You should use tigger: 'click'.

    $('.BookAppButton').popover({
            title : '',
            html : 'true',
        trigger: 'click',
        content:'

    Enter name :

    ' }); });

提交回复
热议问题