引用jquery,jquery.textareafullscreen.js和textareafullscreen.css到你的页面head位置
1 2 3 | <script src="jquery.textareafullscreen.js"></script><link rel="stylesheet" href="textareafullscreen.css"> |
html
添加一个textarea设置id
1 | <textarea id="demo"></textarea> |
js调用插件
1 2 3 4 5 | <script> $(document).ready(function() { $('#demo').textareafullscreen(); });</script> |
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com