jQuery.now()方法

jQuery 教程 · 2019-03-29 09:59:29

实例

返回当前时间的Unix时间戳

$(function () { document.body.innerHTML = $.now(); })

定义和用法

$.now() 函数用于返回当前时间距1970年1月1日午夜所经过的毫秒数。

注意:此方法不接受任何参数。该函数的作用类似于 new Date().getTime()。

语法

$.now( )

点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html

查看所有标签

Ajax for Web Application Developers

Ajax for Web Application Developers

Kris Hadlock / Sams / 2006-10-30 / GBP 32.99

Book Description Reusable components and patterns for Ajax-driven applications Ajax is one of the latest and greatest ways to improve users’ online experience and create new and innovative web f......一起来看看 《Ajax for Web Application Developers》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具