i want use badge independently collapse i'm having problems it.
$(function (e) { $('[data-toggle="popover"]').popover({html: true}) }) $('.badge').click($(function (e) { e.stoppropagation(); }) ) see prototype bellow: http://jsfiddle.net/dhanck/sk269gw5/
almost! don't need wrap 'click' handler function jquery object.
before:
... $('.badge').click($(function (e) { e.stoppropagation(); }) ) ... after:
... $('.badge').click(function (e) { e.stoppropagation(); }) ... updated fiddle: http://jsfiddle.net/sk269gw5/1/
Comments
Post a Comment