摘要:
组件的基本使用 阅读全文
摘要:
js用XMLHttpRequest发送异步请求 发送GET请求 ~~~ var xhr = new XMLHttpRequest(); xhr.open('GET',url);//url为请求地址 xhr.responseType = 'json'; xhr.onload = function () 阅读全文
摘要:
记录一下 保存图片到相册 方便下次使用好找 阅读全文
摘要:
"游戏来源于 Mdn学习网站" ; 该例子用于对象的理解非常有效(建议看完上面网站的内容在开始练习) 阅读全文
摘要:
1.数组的长度 ~~~ var sequence = [1, 1, 2, 3, 5, 8, 13]; sequence .length //7 ~~~ 2.字符串转换成数组 string.split() ~~~ var myData = 'Manchester,London,Liverpool'; 阅读全文
摘要:
1.字符串长度 ~~~ string.length var browserType = 'mozilla'; browserType.length; //7 ~~~ 2在字符串中查找子字符串 string.indexOf 找到返回字符串的下标,没找到返回 1 ~~~ browserType.inde 阅读全文
摘要:
知识点 1. js 操作元素 增 (document.createElement(),document.body.appendChild()), 删(parentNode.removeChild()) ,改(guessField.disabled \= false;) 查(document.quer 阅读全文
摘要:
phpmyadmin导入大容量.sql文件 在phpmyadmin目录文件夹下建立一个文件夹,如importSqlFile 将想要导入的sql文件放入importSqlFile文件夹中 打开config.inc.php(就在phpmyadmin目录下,如图1),找到 $cfg['UploadDir' 阅读全文
摘要:
layui和thinkphp5自己在百度上下载 html代码 php代码 效果图 犯了一个错误,不应该把密码查出来的,本人太难,不想改了 阅读全文
摘要:
准备资料 "下载layui" tp5 代码: public function imgdemo(Request $request){ //接收上传的文件 $file = $this request file('file'); if(!empty($file)){ //图片存的路径 $imgUrl= R 阅读全文