Created
August 27, 2012 20:18
-
-
Save suneg/3491918 to your computer and use it in GitHub Desktop.
customize popover template for twitter bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#field1').popover({ | |
title: '', | |
content: 'That looks like an invalid location', | |
trigger: 'focus', | |
placement: 'top', | |
template: '<div class="popover alert-error"><div class="arrow"></div><div class="popover-inner"><div class="popover-content"><p></p></div></div></div>' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment