2018年9月28日
摘要: //下拉框选择 $("select").change(function () { var is_show = $("option:selected").val(); console.log(is_show); var listurl = '/Index/Goods/listgoods'; if (is_show==''... 阅读全文
posted @ 2018-09-28 09:46 SoftBlue 阅读(736) 评论(0) 推荐(0) 编辑
摘要: html代码: JS代码: 阅读全文
posted @ 2018-09-28 09:37 SoftBlue 阅读(229) 评论(0) 推荐(0) 编辑
摘要: html代码: 原生js代码: 阅读全文
posted @ 2018-09-28 09:32 SoftBlue 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 单个的input type="file"表单也是可以实现多图片上传的 代码如下: 这里要给file表单加上一个multiple属性 multiple="multiple"也可以 name的属性值后面要加上[]这样就可以了 print_r($_FILES)可得到如下信息: 阅读全文
posted @ 2018-09-28 09:17 SoftBlue 阅读(1671) 评论(0) 推荐(0) 编辑
摘要: 安装前要关闭防火墙,防止外网不能访问,这一点很重要,要不然外网访问不了; ①关闭防火墙:service iptables stop ②永久关闭防火墙:chkconfig iptables off ③查看防火墙状态:service iptables status 1.安装Apache [root@lo 阅读全文
posted @ 2018-09-28 09:10 SoftBlue 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 插件及源代码可以在这里下载 http://www.jq22.com/jquery-info5231下面是根据下载的demo进行补充:使用bootstrap界面美观,可预览,可拖拽上传,可配合ajax异步或同步上传,下面是效果图: 前端代码:fileinput.html 后台代码: 阅读全文
posted @ 2018-09-28 09:09 SoftBlue 阅读(409) 评论(0) 推荐(0) 编辑