1 2 3 4 5 ··· 15 下一页

2026年1月22日

Mysql语句where中设置多个查询条件

摘要: SELECT * FROM `student` WHERE 1 = 1 AND `sex` = 1 AND `stu_no` IN ('STU25110004') AND (`remark` IS NULL or `remark` = '' ) ORDER BY `id` DESC LIMIT 20 阅读全文

posted @ 2026-01-22 14:26 四季皆春 阅读(2) 评论(0) 推荐(0)

2026年1月21日

Jquery插件 dataTable设置点击表格指定的列实现升序降序排序功能

摘要: 前端js: $('#student_list').DataTable({ 'lengthChange': false, 'searching' : false, 'ordering' : true, // 开启排序功能(后端要根据排序字段和排序类型进行接收处理) 'info' : true, 'pa 阅读全文

posted @ 2026-01-21 18:30 四季皆春 阅读(2) 评论(0) 推荐(0)

2025年12月23日

JavaScript中为JSON对象动态添加属性的四种方法

摘要: 1-点表示法(直接属性赋值) const obj1 = { name: "百度" };obj1.age = 20; // 直接添加新属性console.log("点表示法:", obj1); // 输出: { name: '百度', age: 20 } 2-方括号表示法(动态属性名) const o 阅读全文

posted @ 2025-12-23 15:39 四季皆春 阅读(7) 评论(0) 推荐(0)

2025年12月3日

CSS设置指定某个区域div出现滚动条、滚动框

摘要: <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Scrollable Are 阅读全文

posted @ 2025-12-03 17:09 四季皆春 阅读(5) 评论(0) 推荐(0)

2025年9月5日

Nginx配置成系统服务及环境变量配置

摘要: 参考地址: https://blog.csdn.net/H900302/article/details/120742100 阅读全文

posted @ 2025-09-05 10:05 四季皆春 阅读(7) 评论(0) 推荐(0)

2025年7月7日

jquery监听表单输入变化-调用函数

摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="https://cdn.jsdel 阅读全文

posted @ 2025-07-07 15:20 四季皆春 阅读(6) 评论(0) 推荐(0)

2025年2月28日

javaScript正则匹配全部字符

摘要: const reg = /<td><input type="checkbox" name="check_skus[\s\S]+?<\/td>/ # 贪婪匹配 const reg = /[\s\S]+/ # 非贪婪匹配 const reg = /[\s\S]+?/ select_html = sele 阅读全文

posted @ 2025-02-28 15:38 四季皆春 阅读(24) 评论(0) 推荐(0)

2025年1月15日

Linux下PHP安装Redis扩展

摘要: PHP官方pecl下载扩展地址:https://pecl.php.net/ 搜索redis,进入 下载最新稳定linux版本 登陆linux服务器,下载安装包后解压 # wget https://pecl.php.net/get/redis-6.1.0.tgz # tar -xzvf redis-6 阅读全文

posted @ 2025-01-15 15:15 四季皆春 阅读(209) 评论(0) 推荐(0)

2024年12月30日

mysql语句使用正则过滤字段

摘要: SELECT * FROM product WHERE sku REGEXP '^[0-9]+$'; SELECT * FROM product WHERE spu REGEXP '^[0-9]+$'; 不建议在生产环境使用mysql正则查询,影响性能, 日常开发在测试环境可以进行数据排查。 阅读全文

posted @ 2024-12-30 16:19 四季皆春 阅读(18) 评论(0) 推荐(0)

2024年12月28日

Bootstrap模态框使用WebUploader点击失效问题 - Bootstrao模态框弹出后内置js函数未起作用-F12后又起作用

摘要: 解决方案参考: https://blog.csdn.net/superdog007/article/details/78716352 webuploader官网: https://fex-team.github.io/webuploader/getting-started.html 问题原因: 模态 阅读全文

posted @ 2024-12-28 17:27 四季皆春 阅读(47) 评论(0) 推荐(0)

1 2 3 4 5 ··· 15 下一页

导航