![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
前端
前端
修行者Java
修行在个人
展开
-
前台获取服务器ip地址
前台获取服务器地址1.获取当前路径url:var urlName= window.document.location.href;2.获取当前路径名称:var pathName = window.document.location.pathname;3.获取http协议长度:var index = urlName.indexOf(pathName );4.获取http协议:var httpN...原创 2019-05-12 16:20:25 · 4958 阅读 · 0 评论 -
freemarker+layui富文本编辑器,部分功能无效?
问题:ftl中添加layui富文本编辑器后,只对部分功能有效果?往下看文档:https://www.layui.com/doc/modules/layedit.html第一步:创建文本域对象第二步:建立编辑器第三步:后台接收第四步:前台页面展示测试ok!...原创 2019-05-12 15:54:18 · 1157 阅读 · 0 评论