is there way assign more 1 event bootstrap control via "data-toggle". example, lets want button has "tooltip" , "button" toggle assigned it.
tried data-toggle="tooltip button", tooltip worked.
edit:
this "workaroundable"
$("#newbtn").toggleclass("active").toggleclass("btn-warning").toggleclass("btn-success");
if want add modal , tooltip without adding javascript or altering tooltip function, wrap element around it:
<span data-toggle="modal" data-target="#id"> <a data-toggle="tooltip" data-placement="top" title="my tooltip text!">+</a> </span>
Comments
Post a Comment