I am using Bootstrap popover
. Everything works just fine. I am displaying div
on popover. Here I created js fiddle . Now how do I replace title
and contents
? Thanks
EDIT: I am also not able to click on Show details
button.
The reason you cant click the show details button is due to your use of hover, you should either revert to using click or set a delay before the hover effect disappears:
$('#popover').popover({
delay: { show: 100, hide: 500 }
});
I would suggest creating a separate popover link for each item you want to display, see updated jsfiddle for an example. Another option would be to use jquery to change the text of the div for each click of a popover link.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.