随笔分类 -  html

前端
摘要:案例: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Demo</title> <!-- 阅读全文
posted @ 2025-04-22 17:06 黎明的太阳 阅读(122) 评论(0) 推荐(0)
摘要:问题:勾选导出记录,form提交,后台报错,请求头太大。 原因:默认提交方法,get请求大小受限。 解决方案:改成post提交。 <form action="exportAction.action" id="myForm" method="post"> <input type="hidden" id 阅读全文
posted @ 2024-07-04 13:55 黎明的太阳 阅读(472) 评论(0) 推荐(0)
摘要:错误现象:IE浏览器异常js报错,谷歌正常。 错误原因: 父页面结果列表中open弹窗修改信息,子页面提交后,刷新父页面的form表单,显示新值。在新页面没刷新之前,又点击编辑,open子页面,此时在ie模式下,无法提交表单。 解决方案: 1简单方法。 父页面: form下写一个遮罩层。子页面提交后 阅读全文
posted @ 2024-06-20 18:14 黎明的太阳 阅读(73) 评论(0) 推荐(0)
摘要:谷歌浏览器得行数控制不兼容ie,加个高度限制解决。(max-height:66px;) css: .txt{ display:block; height:auto; max-height:66px; overflow: hidden; text-overflow: ellipsis; word-wr 阅读全文
posted @ 2023-05-30 17:39 黎明的太阳 阅读(45) 评论(0) 推荐(0)