开发心得
文章平均质量分 51
泡泡澜
网上的教程多而繁杂,这里只取切实有用的记录下来。
展开
-
SSH框架,zyupload插件文件异步上传
一、导入zyupload所需js、css、jquery等配置文件二、关键代码1、html 前端首先在<script></script>内初始化插件:$("#zyupload").zyUpload({ width: "650px", // 宽度 height: "auto", // 宽度 ...原创 2018-07-12 15:55:25 · 1032 阅读 · 3 评论 -
【bootstrap】多选可搜索下拉框
1.引入必要文件 <script type="text/javascript" src="http://www.daimajiayuan.com/download/jquery/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="http://cdn.bootc.转载 2018-09-25 09:52:56 · 608 阅读 · 0 评论 -
JS严格校验身份证号
转自:https://blog.csdn.net/itmyhome1990/article/details/44197401<script type="text/javascript"> var Wi = [ 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2, 1 ]; // 加权因子 var ValideCode = ...转载 2018-07-12 16:34:19 · 606 阅读 · 0 评论 -
sublime字体设置
【Preferences】→【Settings】以下代码填入右侧:{ "font_face": "宋体", "font_options": [ "no_bold", "no_italic", "gray_antialias" ], "font_size": 12, "ignored_packages": [ "Vintage&quo原创 2018-07-12 16:33:07 · 3299 阅读 · 0 评论 -
ORACLE从同ip其他用户复制表
create table FM_T_ZHZX_JQ_CJDB tablespace TS_GXGA_DATA as select * from gxga_db.T_ZHZX_JQ_CJDB原创 2018-07-12 16:32:26 · 329 阅读 · 0 评论 -
编译软件中tomcat配置UTF-8
-Dfile.encoding=UTF8原创 2018-07-12 16:31:54 · 197 阅读 · 0 评论 -
Linux svn备份和还原
转自: http://spiritfrog.iteye.com/blog/448578 + http://magnet2008.iteye.com/blog/586578 备份策略==============svn备份一般采用三种方式:1)svnadmin dump 2)svnadmin hotcopy 3)svnsync. 注意,svn备份不宜采用普通的文件拷贝方式(除非你备份的时候将库暂停),...转载 2018-07-12 16:31:11 · 707 阅读 · 0 评论 -
form表单提交select
<select name="text" class="form-control input-sm"> <option value=""><s:message code=""/></option> <option value=""><s:mes原创 2018-07-12 16:30:37 · 9497 阅读 · 0 评论 -
ajax验证form表单内容是否为空
ex.function checkSubmit(validForm){ //括号内validForm为html表单name属性 if(validForm.createdtime.value==''){ //createdtime为输入框name属性 alert('时间不能为空!'); validForm.createdtime.focus(); ...原创 2018-07-12 16:29:57 · 3088 阅读 · 0 评论 -
jquery实现form表单赋默认值【以时间为例】
$(function() { var date = new Date(); var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var strDate = date.getDate(); if (month >= 1 && mo...原创 2018-07-12 16:28:35 · 2506 阅读 · 0 评论 -
JAVA WEB IO流下载文件
@ResponseBody@RequestMapping("/file")public void findfile(String fjid, HttpServletResponse response) throws IOException { try { //获取文件存放的路径 TFGyFjxx bean = tfGyFjxxService.findBy...原创 2018-11-22 16:16:29 · 402 阅读 · 0 评论