我在 Href 标签中使用 title 属性来显示鼠标悬停文本。当我将鼠标放在 href 链接上时,TITLE 标签内的文本在 IE8 中显示,但在 IE10 中不起作用。
<a href=JavaScript:sortList('DEPT') title="Click to sort result table according to Department">
<u><b>Dept</b></u></a>
最佳答案
您在 href 属性中遗漏了“双引号”。
<a href="JavaScript:sortList('DEPT')" title="Click to sort result table according to Department">
<u><b>Dept</b></u></a>
在这里 fiddle ..
关于javascript - Href 标题属性在 IE10 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23865201/