在线手册

  • jsref concat array

    ... Value: An Array object, representing the joined array JavaScript Version: 1.2 More Examples Example Join three arrays: var hege = ["Cecilie", "Lone"]; var stale = ["Emil", " ...

  • jsref concat string

    ... String, containing the text of the combined strings JavaScript Version: 1.2 More Examples Example 2 Join three strings: var str1 = "Hello "; var str2 = "world!"; var str3 = " Have a nice ...

  • jsref localecompare

    ... whether the reference string comes before, after or is the same as the compareString in sort order. Returns one of three values: -1 if the reference string is sorted before the compareString 0 if the two strings are equal 1 if ...

  • jsref regexp nxcomma

    ... {X,} Quantifier JavaScript RegExp Object Example Do a global search for a substring that contains a sequence of at least three digits: var str = "100, 1000 or 10000?"; var patt1 = /\d{3,}/g; The marked text below shows where ...

  • jsref regexp nxy

    ... JavaScript RegExp {X,Y} Quantifier JavaScript RegExp Object Example Do a global search for a substring that contains a sequence of three to four digits: var str = "100, 1000 or 10000?"; var patt1 = /\d{3,4}/g; The marked text ...

  • met win settimeout

    ... quot;6 seconds" }, 6000); Try it yourself » Example Open a new window and close the window after three seconds (3000 milliseconds): var myWindow = window.open("", "", "width=200, height=100" ...

  • prop html tabindex

    HTML DOM tabIndex Property Element Object Example Change the tab order for three links: document.getElementById("myAnchor1").tabIndex = "3"; document.getElementById("myAnchor2").tabIndex = "2" ...

  • prop style border

    ... it yourself » More "Try it Yourself" examples below. Definition and Usage The border property sets or returns up to three separate border properties, in a shorthand form. With this property, you can set/return one or more of the ...

  • prop style borderbottom

    ... yourself » More "Try it Yourself" examples below. Definition and Usage The borderBottom property sets or returns up to three separate border-bottom properties, in a shorthand form. With this property, you can set/return one or more of ...

  • prop style bordercolor

    ... , like: p {border-color: red transparent} - top and bottom border will be red, left and right border will be transparent Three values, like: p {border-color: red green blue}- top border will be red, left and right border will be green, bottom ...

推广服务(新)
最新文章
  • php curl大文件上传遇到502或504错误

    使用php的curlfile上传大文件到远端服务器,遇到502错误。原因可能是超时或者内存超出,需要修改nginx、php.ini和php-fpm.conf中的一些配置。修改php.ini(注意c...

  • HTML、JavaScript和GLSL编码规范

    HTML编码规范

    • 始终将文档类型声明为文档中的第一行:

  • WebGL 2D纹理坐标到3D顶点坐标的映射

    webgl纹理映射用来把图片贴到模型的材料表面,给模型添加丰富的细节。该方法的核心是把一张二维的图片映射到三维的坐标空间去,也就是为每一个3d顶点找到其相应...

  • WebXR基本概念和应用程序开发简介

    XR是VR,AR和MR的统称,VR,AR是从感官体验的角度来区分的,
    VR是用户借助外设输入输出(头戴、手柄、体感、运动感知等软硬件系统)来和纯虚拟场景的交互体验...

  • 网站SSL安全证书认证的基本过程和原理

    现在的网站基本上都迁移到了https协议上,https是http协议的安全升级版本。在原来的http协议下,如果有人截获了你发送给服务器的报文,就能获取里面的信息,比如...

  • 更多...