Script Home
  • JavaScript generates a specified range of time list

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    encountered a scene, need to get the specified time range every day, meet the format of "YYYYMMDD", a simple function, the simple idea of date "to object to a lot of methods, use the following: new date (date) generating object you can directly specify the date, new date (year, month, day)...
  • Analysis of JavaScript archetype and prototype chain

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    , every function we create has a prototype (prototype) property. This property is a pointer, pointing to a prototype object, and the attributes and methods possessed in this prototype object can be shared by all instances. function (Person) {Person.prototype.name} = "Nicholas"; Person.prototype...
  • Common operating methods and special characters of strings in JavaScript

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    下面看下js字符串的常用操作方法,具体内容如下所述: charAt()            获取字符串中特定索引处的字符; toupperCase()  将字符串的所有字符转换成大写字母; indexOf()          返回字符串中特定字符串第一次出现的位置 substring()        返回字符串的某个子串 slice()               返回字符串中的某个子串,...
  • DOM event binding analysis in JS

    +Read more
    Author:zyq / Release:2018-3-19 / category:JavaScript, Script / crowd0 views time+ / sofa /
    The js event binding JavaScript has three kinds of events: model model model inline script DOM2 1 model model , inline / / basic input type= abolished without < "button" value= "button" onclick= "alert ('Lee'); /> < input" type= "button" value= "button" onclick= "(box);...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security