![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web
一个正在学习的javaer
这个作者很懒,什么都没留下…
展开
-
若依 bootstrap-fileinput上传框的应用
一.导入CSS、JS<link th:href="@{/ajax/libs/bootstrap-fileinput/fileinput.min.css}" rel="stylesheet"/><script th:src="@{/ajax/libs/bootstrap-fileinput/fileinput.min.js}"></script>二.HTML内容<input class="form-control file-upload" id="fileU原创 2021-02-08 19:40:44 · 1480 阅读 · 1 评论 -
bootstrap-typeahead带搜索框的下拉框
一.首先先上效果图二.实现:需求:通过课程ID和搜索内容查询到对应的数据2.1.后端 /** * 搜索博客 * 返回该课程的所有问题 * @return */ @GetMapping("/search") @ResponseBody public AjaxResult getSerachPostTitle(){ String courseID = ServletUtils.getParameter("cour原创 2020-12-24 11:40:54 · 472 阅读 · 0 评论 -
iframe相关问题
一.iframe随内容变化宽度也变化parent<iframe th:src="" frameborder="0" width="100%" height="100%" name="commentIfr" id="commentIfr" onload=' this.style.height=Math.max(this.contentWindow.document.body.scrollHeight,this.contentWindow.document.docu原创 2020-12-22 20:12:17 · 181 阅读 · 0 评论 -
博客园添加样式
一.添加左下方音乐在博客园页脚 HTML 代码(注意必须申请JS权限)<!-- Music--><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.0/dist/APlayer.min.css"><script src="https://blog-static.cnblogs.com/files/zouwangblog/APlayer.min.js"></script&原创 2020-12-22 19:46:30 · 148 阅读 · 0 评论 -
前端JSon数组对象转java集合
1.前端:1.把对象数组转成json字符串 var a = JSON.stringify(data.labelList); $.ajax({ url: contextPath+"/blog/toeditBlog", type: "get", ...原创 2020-05-01 10:08:55 · 791 阅读 · 0 评论 -
springboot thyemleaf常见错误
1.获取背景图片一定要记得加上‘’th:background="${#servletContext.contextPath}+'/static/images/blue-snow.png'"2.js获取项目路径记得js要加上<script th:inline="javascript">//一定要加th:inline="javascript" 支持行内写法 //url的全...原创 2020-04-24 17:07:37 · 362 阅读 · 0 评论