Results 1 to 2 of 2

Thread: A button inside a popover

  1. #1
    Junior Member
    Join Date
    Apr 2014

    Question A button inside a popover

    I need to have a button with a popopver to ask the user if he really wants to delete an item, with a confirm and cancel button inside the popover.
    I don't know anything about javascript.
    So i search on the web and i found something to ativate the popover.
    HTML Code:
    <script type="text/javascript">
            placement : 'top'
            placement : 'right'
            placement : 'bottom'
            placement : 'left'
    <a href="#" class="btn btn-danger btn-xs popover-top" data-toggle="popover" title="Do you really want to delete this item ?" data-content="confirm / cancel  "><span class="glyphicon glyphicon-trash"></span> Supprimer</a>
    It works !


    I don't know how can i put a button inside the popover.

    Can you please help me ?

    Thank you very much.

  2. #2
    Junior Member
    Join Date
    Mar 2014
    Rialto, CA
    If you'r using Bootstrap, it seems that you could use an alert rather than a popover. Check out the Bootstrap docs at I'm sure you coul provide the alert with a button.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts