摘要: text() - 设置或返回所选元素的文本内容html() - 设置或返回所选元素的内容(包括 HTML 标记)val() - 设置或返回表单字段的值 $("#test1").text("Hello world!"); $("#test2").html("<b>Hello world!</b>"); 阅读全文
posted @ 2020-07-31 21:57 杨超越的歌迷 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-07-30 16:25 杨超越的歌迷 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 连接数据库 mysql -hlocalhost -uroot -p,回车,输入密码,回车, show variables like'%time_zone'; (注意不要漏掉后面的分号),回车 设置时区 set time_zone = '+8:00'; 阅读全文
posted @ 2020-07-30 16:15 杨超越的歌迷 阅读(976) 评论(0) 推荐(0) 编辑
摘要: 一。超链接、表单、重定向都是客户端路径,客户端路径http://localhost:8080可以分为三种方式: 绝对路径: <a href="http://localhost:8080/hello2/index.html">链接1</a>客户端路径:<a href="/hello2/pages/in 阅读全文
posted @ 2020-07-24 15:58 杨超越的歌迷 阅读(137) 评论(0) 推荐(0) 编辑
摘要: inputstream 是从电脑里读取 和outputstream写入数据到电脑里 抽象父类 fileinputstream 文件字节流 操作 new byte【】 readr 和writer 是字符流的父类抽象类 字符流操作需要关闭close 或者flush 刷新缓冲区,因为要先到writer中进 阅读全文
posted @ 2020-07-23 16:23 杨超越的歌迷 阅读(60) 评论(0) 推荐(0) 编辑
摘要: random r = new Random(); int a= r.nextint(100) a代表0到99的随机整数 一。date的转换 SimpleDateFormat format = new SimpleDateFormat("yyyy/mm/dd"); Date parse1 = form 阅读全文
posted @ 2020-07-23 14:38 杨超越的歌迷 阅读(229) 评论(0) 推荐(0) 编辑