上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: //获取表单参数 var DataDeal = { formToJson: function (id) { var data=$(id).serialize();//获取值 data = decodeURIComponent(data,true);//防止中文乱码 data=data.replace 阅读全文
posted @ 2017-11-29 08:59 itvita 阅读(1111) 评论(0) 推荐(0)
摘要: package com.hainabo.mgcmall.util;import java.beans.BeanInfo;import java.beans.Introspector;import java.beans.PropertyDescriptor;public class BeanUtils 阅读全文
posted @ 2017-11-29 08:47 itvita 阅读(1412) 评论(0) 推荐(0)
摘要: (function ($) { $.fn.extend({ initForm: function (options) { //默认参数 var defaults = { formdata: "", isDebug: true //是否需要调试,这个用于开发阶段,发布阶段请将设置为false,默认为f 阅读全文
posted @ 2017-11-28 18:03 itvita 阅读(2831) 评论(0) 推荐(0)
摘要: 版本回退: git reset --hard 139dcfaa558e3276b30b6b2e5cbbb9c00bbdca96 下载历史版本:git checkout b0362a895d39061c0bc6f05c575af47de1b3f702 阅读全文
posted @ 2017-11-27 14:48 itvita 阅读(144) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> $(function () { $('#uploadSubmit').click(function () { var file = $('#file')[0].files[0]; var fd = new FormData(); fd. 阅读全文
posted @ 2017-11-24 16:58 itvita 阅读(973) 评论(0) 推荐(0)
摘要: <input type="file" id="testUpload"> <img src="" id="img" alt=""> <script> // 前端只需要给input file绑定这个change事件即可(下面两个方法不需要修改)获取到图片 $('#testUpload').change( 阅读全文
posted @ 2017-11-24 16:41 itvita 阅读(843) 评论(0) 推荐(0)
摘要: <input id="file" type="file"> <img id="img" style="max-height: 300px;"> <textarea id="textarea" style="width: 100%;height: 300px;"></textarea> <script 阅读全文
posted @ 2017-11-24 15:39 itvita 阅读(450) 评论(0) 推荐(0)
摘要: 1Sring mvc 中可以通过注解 : @RequestHeader ("host") String hostName 2httpservletrequest request request.getHeader("Host") //遍历全部 Enumeration headerNames = re 阅读全文
posted @ 2017-11-24 09:12 itvita 阅读(10333) 评论(0) 推荐(0)
摘要: http://www.dmanywhere.cn/ 阅读全文
posted @ 2017-11-15 17:32 itvita 阅读(7465) 评论(0) 推荐(0)
摘要: 代码提示快捷键设置:文件->首选项->键盘快捷方式(command+k,command+s): 搜索 editor.action.triggerSuggest 换成 option+/ 常用插件 HTML Snippets 超级实用且初级的 H5代码片段以及提示 HTML CSS Support 让 阅读全文
posted @ 2017-11-15 17:09 itvita 阅读(347) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页