鼠标悬停在输入文本框上时如何以最简单的方式显示文本(没有CSS等)?
在它上面添加一些title和alt属性。
<input type="text" title="show this text" alt="show this text" />
不必使用alt属性,标题将为您执行此操作。
editbox.title =“XXX”;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.