我现在使用jQuery工具提示插件在数据输入过程中为用户创建一些快速提醒。这里是我使用的jQuery工具提示: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/在jQuery工具提示插件中添加新行
但是,我遇到了一个问题。 如何在工具提示的正文中添加新行?
我试过下面的代码,但仍然无法完成。
<a href="Local Number: 2255-1234 \n Foreign Number:" id="TelephoneGuide" title="Data Input Example:">?</a>
<a href="Local Number: 2255-1234 
 Foreign Number:" id="TelephoneGuide" title="Data Input Example:">?</a>
所以有人可以帮我解决这个问题吗?
谢谢〜
您确定要在href属性中显示该文本吗?浏览器通常不会将其视为有效的网址。 – Emyr 2012-01-04 09:05:06