Html添加行号到textarea [英] Html adding line numbers to textarea
本文介绍了Html添加行号到textarea的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如下代码所示,我有一个textarea,如何在左边显示行号。
是否有jquery插件?
< TEXTAREA name =programid =programrows =15cols =65>< / TEXTAREA> ;
解决方案
Alan Williamson为L引用的TextArea jQuery插件
MIT许可证
jQuery 1.3 +
I have a textarea as in code below, how to display the line numbers on the left hand side of it.
Is there a jquery plugin?
<TEXTAREA name="program" id="program" rows="15" cols="65" ></TEXTAREA>
解决方案
There is Lined TextArea plugin for jQuery by Alan Williamson
MIT License
jQuery 1.3+
这篇关于Html添加行号到textarea的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文