摘要: 阅读全文
posted @ 2021-08-10 20:17 光与城工作组 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-07-21 23:30 光与城工作组 阅读(132) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><script 阅读全文
posted @ 2021-01-18 14:58 光与城工作组 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 一直以为很难,一定需要插件什么的。或者要精通JS 看到一篇文章发现就在div加上一行属性就行了... 发布记录一下,很久以前就想要实现的功能了。 上代码: <script> window.print(); //默认自动弹出打印框 </script> <DIV STYLE="page-break-be 阅读全文
posted @ 2021-01-03 14:28 光与城工作组 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 使用JQ的AJAX 以json数据方式将前端输入框值传入到后端实例 (POST方式) PHP Ajax传值示例 将代码示例优化到最简单的方式 前端 /test/test.html <html> <head> <title>test_json</title> <script src="http://l 阅读全文
posted @ 2021-01-03 13:51 光与城工作组 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 目的:保持进入页面时光标就在输入框,可以直接输入,而不需要鼠标点一下输入框才能输入内容 其实简单的,之前也做过,但是忘记了。 现在做好了,就记一下吧!免得以后想不起来。 <input id="carnum" type="text" /> <script> document.getElementByI 阅读全文
posted @ 2021-01-03 13:37 光与城工作组 阅读(1495) 评论(0) 推荐(0) 编辑
摘要: 后端输出JSON内容代码(以PHP为例) <?php $array=array( 'code'=>'217374', 'name'=>'纪昌进', 'enname'=>'peter', 'date'=>'2020-09-25' ); echo json_encode($array);?> 前端取值代 阅读全文
posted @ 2020-09-26 11:15 光与城工作组 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 父子页面传值 制作 开窗查询功能 效果图 父页面代码 <html> <head> <title>测试父子页面传值--父页面</title> <script> function getdata(data){ document.getElementById("test").value = data; } 阅读全文
posted @ 2020-09-26 11:09 光与城工作组 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 启动提示“welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try ag 阅读全文
posted @ 2020-08-08 08:49 光与城工作组 阅读(939) 评论(0) 推荐(0) 编辑
摘要: #查看权限 getfacl 文件名 例子:getfacl test 结果:# file: test# owner: root# group: rootuser::rw-group::r-xother:: #赋予权限setfacl -参数 类型:用户或组:权限 文件名例子:setfacl -m u:t 阅读全文
posted @ 2020-08-07 15:52 光与城工作组 阅读(77) 评论(0) 推荐(0) 编辑