我有一个价格滑块,悬停时会显示幻灯片价格的“工具提示”。沿着滑块滑动时,工具提示中的值会发生变化。我想将 £ 符号添加到工具提示中的值中。我已经设法做到这一点,但£的位置需要更正,因为它目前的网站是这样的:“250£:£750”。看看我已经模拟出来的 bootply - http://bootply.com/72212
if (this.range) {
this.tooltipInner.text(
this.formater(this.value[0]) +
'£ : £' +
this.formater(this.value[1])
);