I want to show some html in popover using http://twitter.github.com/bootstrap/javascript.html#popovers. How compatible is to store text in data-content? Will it work in all browsers?
I want to show some html in popover using http://twitter.github.com/bootstrap/javascript.html#popovers . How compatible is
Share
You can use html in the data attribute, just watch out not to include certain quotation marks. You can use
"in texts of course but need to use single or double quotes depending on the tag’s quotes.The data attribute should work in most browsers: Do HTML5 custom data attributes “work” in IE 6?
It works for tooltips, popovers shouldn’t be different.