我有一个价格滑块,在悬停时,它显示了滑动价格的“工具提示”。沿滑块滑动时,工具提示中的值会发生变化。我想将in符号添加到工具提示中的值中。我已经做到这一点,但国标的位置需要纠正,因为它目前的网站如下:“250 it :it 750”。看看我模仿过的引导程序- http://bootply.com/72212
if (this.range) {
this.tooltipInner.text(
this.formater(this.value[0]) +
'£ : £' +
this.formater(this.value[1])
);发布于 2013-08-06 10:55:03
这样做:
this.tooltipInner.text(
'£' + this.formater(this.value[0]) + ' : £' + this.formater(this.value[1])
);https://stackoverflow.com/questions/18078162
复制相似问题