jquery ui - show password requirement bootstrap popover on hover/focus and pass explicit Html contents inside Popover to display -
how can show password requirements password field using twitter bootstrap pop-over , jquery on hover.
<input id = "txtpassword" type = "password" title ="password" /> - i want pass custom "html" content of popover.
- change title of pop-over custom title
- change style of pop-over current basic custom style.
for starter can make things simple , use simplest popover bootstrap:
1.include in project right files of bootstrap in order make work: a.bootstrap-tooltip.js b.bootstrap-popover.js c.jquery.min.js d.bootstrap.css
2.use element element fire popover, example:
<a href="#" id="example" rel="popover" data-content="it's simple create tooltop website!" data-original-title="twitter bootstrap popover">hover popover</a> with the: id="example" can access element jquery in order display content popover
on data-content="some text": text shown on popover window
on data-original-title="some title": can decide title show on popover window
3.use jquery access , activate popover this:
$(function () { $("#example").popover(); }); just start , try dig deeper goal.
Comments
Post a Comment