- 昵称:51助手
- 博龄:6年6个月8天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
php接收文件上传方法
摘要:function upFile(){ // 允许上传的图片后缀 $allowedExts = array("gif", "jpeg", "jpg", "png", "mp4"
js判断手机端跳转
摘要:js判断手机端跳转 到 域名/m<script type="text/javascript"> if(window.location.toString().indexOf('pref=padinde
得了新冠到底去不去医院?
摘要:https://baijiahao.baidu.com/s?id=1752067998487174957
max-device-width和max-width的区别
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet"&n
判断是json对象还是数组
摘要:根据数组有length属性而json对象没有,从而来判断 if(typeof file.length == 'number' ){ console.log('数组'); } else{ console.log('对象'); }
js判断元素是否在数组里
摘要:方法1const numbers = [1, 2, 3, 4, 5]; console.log(numbers.includes(3)); // trueconsole.log(numbers.includes(
vue checkbox 选中与未选中指定值
摘要:加上这两个参娄 true-value="1" //选中 false-value="0" //未选中<input type="checkbox" v-model="obj.required" t
PHP WebShell变形技术
摘要:----------------------------------------------------------------------------------------------------------------------------------------------------------------
vue复制文本方法
摘要:@click="copyUrl(123)" copyUrl(text) { var input = document.createElement("input"); // 创建input对象 input.v
点击向光标位置插入内容
摘要:<button type="button" onclick="document.getElementById('test').focus(); insertHtmlAtCaret('<b>INSERTED</b>');">