邮件订阅
5ucms培训,javascript手冊-c
作者: 来源: 日期:2015/8/28 12:52:21 浏览量:48(滞后) 人气:LOADING...(实时) 【

5ucms培训,javascript手冊-c

ceil method

Returns the least integer greater than or equal to a number.

语法

Math.ceil(number)

number is any numeric expressidocument.write("The character at index 0 is " + anyString.charAt(0))document.write("The character at index 1 is " + anyString.charAt(1))document.write("The character at index 2 is " + anyString.charAt(2))document.write("The character at index 3 is " + anyString.charAt(3))document.write("The character at index 4 is " + anyString.charAt(4))

See also

  • indexOf, lastIndexOf methods

    checkbox object

    A checkbox NAME="checkboxName" VALUE="http://www.dedecms.com/web-art/htmlbase/Javascript/20020827/checkboxValue" [CHECKED] []> textToDisplayNAME="checkboxName" specifies the name of the checkbox object. You can access this value using the name property.
    VALUE="http://www.dedecms.com/web-art/htmlbase/Javascript/20020827/checkboxValue" specifies a value that is returned to the server when the checkbox is selected and the form is submitted. This defaults to ") { checkedButt VALUE="http://www.dedecms.com/web-art/htmlbase/Javascript/20020827/Quit" >

    See also

  • alert, prompt methods

    cookie property

    String value of a cookie, which is a small piece of informati@=" to map // from in millisec;" // set the cookie expirati@") and indexOf("=") to determine the date and time stored in the cookie.

    See also

  • hidden object

    cos method

    Returns the cosine of a number.

    语法

    Math.cos(number)

    number is a numeric expression representing the size of an angle in radians, or a property of an existing object.

    用法

    Math

    描述

    The cos method returns a numeric value between -1 and 1, which represents the cosine of the angle.

    例子

    //Displays the value 6.123031769111886e-017document.write("The cosine of PI/2 radians is " + Math.cos(Math.PI/2))//Displays the value -1document.write("<P>The cosine of PI radians is " + Math.cos(Math.PI))//Displays the value 1document.write("<P>The cosine of 0 radians is " + Math.cos(0))

    See also

  • acos, asin, atan, sin, tan methods

  • 欢迎您访问www.5ucms.org

    本站推荐: 5ucms模板下载 5ucms插件下载 仿站联系Q3876307       [复制给好友] [打印] [关闭] [返回] [顶部]
    上一篇:5ucms仿站,javascript手冊-d
    下一篇:5ucms帮助如何显示年月日及星期问题
    本站声明:本网站所载文章等内容,目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及作品内容、版权及其它问题,请在30日内与本网联系(Email:3876307#qq.com),我们将在第一时间删除内容。若原创内容转载请注明出处。
    5ucms培训,javascript手冊-c的关键词:
    评论信息
    相关分类
    本周热门
    本月热门
    关于我们 - 版权/免责 申明 - 建站服务 - 网站地图 - 稿件投递 - 联系我们 - 5ucms
    Copyright © 2008-2015 www.5ucms.org