javascript - How to show bootstrap bottom pophover an image click in java script -


can tell how show bootstrap bottom pophover image button click in java script

thanks

bootstrap has usefull documentation popovers. can read here: http://getbootstrap.com/javascript/#popovers

here simple example how use:

<img src="so.jpg" data-toggle="popover" data-title="top title" data-content="body text" /> 

don't forget include jquery , bootstrap.js. need declare popover, because doesn't work default, can use example:

$(document).ready(function() {     $('[data-toggle="tooltip"]').tooltip();     $('[data-popover="popover"]').popover({ trigger: "hover" }); }); 

this example contains solution hovering image. replace data-toggle="popover" data-popover="popover".

i hope you.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -