如何给input框浮动显示动态提示
1、在JS中给input增加title属性,例如文本太长,显示不全,可以如此。<td id="reason" sty造婷用痃le="min-width: 300px; max-width: 800px; word-break:break-all;word-wrap:break-word;white-space: pre-wrap; " ></td>
2、在JS中,可以动态设置内容及浮动title属性$("#reasonInfoTr").show(); $("#reason").text(reason); $("#reason").attr("title",reason);
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:36
阅读量:89
阅读量:49
阅读量:88
阅读量:47