zno2

随笔分类 -  HTML

400 (Bad Request)
摘要:出现这种情况极有可能是 form表单的字段类型与bean中的类型不一致,无法映射导致的 比如: <input type="radio" name="isAvailable" value="是" checked="checked"> 启用 java bean 中却定义成 private int isA 阅读全文

posted @ 2023-06-01 16:57 zno2 阅读(67) 评论(0) 推荐(0)

必填校验:修改浏览器自带“请填写此字段。”
摘要:function validate(input, msg){ if($(input).val().trim().length > 0){ msg = ''; } $(input).attr('oninvalid',"this.setCustomValidity('"+msg+"')").trigge 阅读全文

posted @ 2020-08-21 12:09 zno2 阅读(1147) 评论(2) 推荐(0)

form action 相对路径出问题
摘要:http://www.w3chtml.com/html5/tag/base.html <base> 标签为页面上的所有链接规定默认地址或默认目标。 通常情况下,浏览器会从当前文档的 URL 中提取相应的元素来填写相对 URL 中的空白。 什么意思呢,就是文件目录结构影响url 使用 <base> 标 阅读全文

posted @ 2016-08-05 18:17 zno2 阅读(192) 评论(0) 推荐(0)

page next page prev
摘要:效果图: 阅读全文

posted @ 2016-08-05 18:16 zno2 阅读(453) 评论(0) 推荐(0)

html table 合并单元格
摘要:归纳 类别 举例 字母 A 字母 B 字母 C 字母 D 字母... 阅读全文

posted @ 2016-08-05 18:16 zno2 阅读(546) 评论(0) 推荐(0)

element onclick 动态创建元素并绑定onclick事件
摘要:b 胜多负少 阅读全文

posted @ 2016-08-05 18:15 zno2 阅读(1039) 评论(0) 推荐(0)

html <> 转义
摘要:< &lt; > &gt; lt means less than gt means greater than 阅读全文

posted @ 2016-08-05 18:15 zno2 阅读(124) 评论(0) 推荐(0)

List of HTTP header fields
摘要:https://en.wikipedia.org/wiki/List_of_HTTP_header_fields Content-Type The MIME type of the body of the request (used with POST and PUT requests) Conte 阅读全文

posted @ 2016-08-05 18:14 zno2 阅读(266) 评论(0) 推荐(0)

<title>
摘要:Insert title here 阅读全文

posted @ 2016-08-05 18:14 zno2 阅读(95) 评论(0) 推荐(0)

使用jQuery 取文本
摘要:b 阅读全文

posted @ 2016-08-05 18:14 zno2 阅读(171) 评论(0) 推荐(0)

struts2 和 js 标签取值
摘要:struts标签是在服务器上替换成html代码的,js是在用户浏览器执行的,这个顺序如果没搞清楚你是搞不好web开发的 阅读全文

posted @ 2016-08-05 18:14 zno2 阅读(230) 评论(0) 推荐(0)

a 标签 name 属性 页面定位 (二)
摘要:<a href="to_url#somewhere">名字</a> <a name="somewhere">名字</a> 定位到的a,以下内容向上平铺浏览器窗口,直到a位于浏览器窗口左上(如果可能)。 § = Alt + 0167 阅读全文

posted @ 2016-08-05 18:13 zno2 阅读(235) 评论(0) 推荐(0)

a 标签 name 属性 页面定位 (一)
摘要:a(§b) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . b (§a) . . . . . 阅读全文

posted @ 2016-08-05 18:13 zno2 阅读(206) 评论(0) 推荐(0)

导航