是否有可能使popover等于变量或函数?

时间:2018-05-28 01:09:16

标签: html twitter-bootstrap-3 bootstrap-popover

我想知道我是否可以使数据内容等于函数,即

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

我希望有类似data-content="CallMyFunction"的内容,我该怎么做?

0 个答案:

没有答案
相关问题