2

I wonder if I can make data-content equal to a function, i.e.

<a data-placement="top" data-toggle="popover" data-html="true" data-content="1 Ethernet<br>2 ATM">Hardware Type</a>

I want to have something like data-content="CallMyFunction", how can I do it?

Taslim Oseni
  • 6,086
  • 10
  • 44
  • 69
LinconFive
  • 1,718
  • 1
  • 19
  • 24
  • [Read this](https://getbootstrap.com/docs/3.3/javascript/#popovers-options) specifically the "content" option – fnostro May 29 '18 at 19:45

0 Answers0