![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML
layman1024
程序员90%的时间花在编程上,10%的时间用来观察世界
展开
-
StringEscapeUtils类的转义与反转义方法
第一步、下载Jar包(commons-lang.jar)下载地址:http://commons.apache.org/proper/commons-lang/download_lang.cgi第二步、测试代码1.HTML转义1System.out.println(StringEscapeUtils.escapeHtml4(""));转载 2017-05-22 17:38:55 · 3444 阅读 · 0 评论 -
META是什么意思
META标签,是HTML语言head区的一个辅助性标签。在几乎所有的page里,我们都可以看 到类似下面这段html代码: ----------------------------------------------- ----------------------------------------------- 这就是meta标签的典型运用。meta标签有多少参数,有什么转载 2017-05-19 14:18:42 · 1834 阅读 · 0 评论 -
Jackson异常情况处理
1、空值转换-异常情况:[html] view plain copy Can not instantiate value of type [map type; class java.util.HashMap, [simple type, class java.lang.String] -> [simple type, class java.lang.String转载 2017-06-08 20:27:36 · 812 阅读 · 0 评论 -
form提交的几种方法
最近研究了下html中,form保单提交的几种方法,现与大家分享一下(注:网上可能已经有好多版本了,这里自己写下来做个总结了,哈!):方法一:利用form的onsubmit()函数(经常使用) Html代码 script type="text/javascript"> function validateForm(){ if(do转载 2017-06-08 20:52:13 · 614 阅读 · 0 评论 -
JQuery动态创建表单并提交
[javascript] view plain copy// 捕捉链接的点击事件 $('#btn').click(function(){ // 取得要提交的参数 var my_val = $.trim($('#ipt').val()); // 取得要提交页面的URL var action = $(this).attr转载 2017-06-08 21:12:09 · 2471 阅读 · 0 评论 -
使用 jQuery 在不刷新的情况下提交 Form 附带官方示范
function submitTheForm() { // 通过 form 的 id 取得 form var $form = $('#formUpdate'); // 很关键 // 得到 form 的提交路径 url = $form.attr('action'); // 得到该 form 的提交路径,并赋值到 url转载 2017-06-08 21:22:40 · 1761 阅读 · 0 评论 -
html form表单提交后不刷新不跳转的实现方法------
[html] view plain copyhtml> body> form action="" method="post" target="nm_iframe"> input type="text" id="id_input_text" name="nm_input_text" /> in转载 2017-06-08 21:23:49 · 13753 阅读 · 0 评论