会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2020年6月4日
自定义Ajax类
摘要: 1 class ajax{ 2 constructor(){ 3 this.xhr=new XMLHttpRequest(); 4 } 5 get(url,param,back,asyn=true) 6 { 7 this.xhr.open("get",url+'?'+param,asyn); 8 t
阅读全文
posted @ 2020-06-04 11:39 yav
阅读(223)
评论(0)
推荐(0)
2020年5月7日
JS之常用字符串处理类
摘要: 1 class StrPlay extends String 2 { 3 constructor(str,length){ 4 super(str,length); 5 } 6 // 裁剪一定长度字符串 7 cut(end=80){ 8 try{ 9 return new StrPlay(this.
阅读全文
posted @ 2020-05-07 11:26 yav
阅读(318)
评论(0)
推荐(0)
2020年4月27日
输入交互(一)
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <tit
阅读全文
posted @ 2020-04-27 20:22 yav
阅读(147)
评论(0)
推荐(0)
上一页
1
2
公告