`
zhangyaochun
  • 浏览: 2560887 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

document.uniqueID

阅读更多

 uniqueID

 

   是IE 私有的只读属性。

 

--------- 这个属性不是早早就固化在元素节点中只是在我们第一次访问它时才开始为整个页面分配uniqueID

 

document对象的uniqueID与其他HTML的uniqueID属性的意义是不一样的。

 

每调用一次document.uniqueID,返回的值都是不一样的。

 

 

 

 

扩展阅读

 

http://www.cnblogs.com/rubylouvre/archive/2010/03/14/1685532.html   (来自司徒正美的“javascript uuid技术”)

 

 

 

 

1
3
分享到:
评论

相关推荐

    js实现按钮控制图片360度翻转特效的方法

    本文实例讲述了js实现按钮控制图片360...var isIE = (document.uniqueID)?1:0; var i=1; function rotate(image) { var object = image[removed]; if(isIE){ image.style.filter=”progid:dXImagetransform.Microsoft.

    php_6_fast_and_easy_web_development.pdf

    Grouping, Ordering, and Selecting Unique Values. . . . . . . . . 520 Using the SHOW Command. . . . . . . . . . . . . . . . . . . . . . . . . . . 521 Appendix FUsing SQLite. . . . . . . . . . . . . . ....

    jQuery插件Zelect.zip

     return { text:item.content, img:item.imageUrl || 'default.png', id:item.uniqueId }  }  callback(result)  } } function renderer(item, term) {  return $('<div>')  .append($('<img>')....

    ultralist:多用途清单

    超级清单多用途列表:不可...const todos = ultraList ( { name : 'Task 1' , done : true , id : uniqueId ++ } , { name : 'Task 2' , done : false , id : uniqueId ++ }) ;// re-render app if there is any change

    Chinese Entity Linking Comprehensive

    entity ID - A unique entity node ID or NIL ID, correspondent to entity linking annotation and NIL-coreference (clustering) annotation respectively. If the entity node ID begins with "E", the text ...

    ZendFramework中文文档

    1. Introduction to Zend Framework 1.1. 概述 1.2. 安装 2. Zend_Acl 2.1. 简介 2.1.1. 关于资源(Resource) 2.1.2. 关于角色(Role) 2.1.3. 创建访问控制列表(ACL) ...2.1.5. 定义访问控制 ...

    Markdown编辑器SimpleMDE.zip

    SimpleMDE 是一个嵌入式 JavaScript 文本框,用于替代书写好看且易懂的 markdown。WYSIWYG-esque 编辑器可以让用户修改 markdown ... unique_id: "MyUniqueID",  delay: 1000,  }, }); 标签:SimpleMDE

    嵌入式文档数据库LinvoDB.zip

     // docs[1] is newly-inserted document with a=55 and has an assigned _id  // Doing that with .insert would throw an uniqueViolated error for _id on doc, because it ...

    编译的 HTML 帮助文件 (.chm) DHTML手册

    uniqueID 获取为对象自动生成的唯一标识符。 URL 设置或获取当前文档的 URL。 URLUnencoded 获取文档的 URL,去除所有字符编码。 vlinkColor 设置或获取用户已访问过的链接颜色。 XMLDocument 获取对由对象引出...

    python3.6.5参考手册 chm

    Python参考手册,官方正式版参考手册,chm版。以下摘取部分内容:Navigation index modules | next | Python » 3.6.5 Documentation » Python Documentation contents What’s New in Python ...

    EXTJS总结.txt

    //获取元素,等同于document.getElementById('myElementId');//会缓存 2. Ext.fly var el = Ext.fly('myElementId')//不需要缓存。 注:享元模式(Flyweight Design Pattern)是一种节省内存的模式,该模式的大概...

    计算机网络第六版答案

    This document contains the solutions to review questions and problems for the 5th edition of Computer Networking: A Top-Down Approach by Jim Kurose and Keith Ross. These solutions are being made ...

    JQuery-mentionfx:社交网络使用的@提及标记系统的一线解决方案。 使用对服务器脚本的Ajax请求来获取数据库的用户名。 给出的示例将给出有关如何使用插件的简单说明

    jQuery-mentionfx 社交网络使用的@提及/标记系统的一线解决方案。... 给出的示例将给出有关如何使用插件的简单说明 #How to use sayfx:页面上JQuery的最新版本:然后是脚本和... $( ' #uniqueID ' ) .mentionfx( ' ex

    servlet2.4doc

    Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged. -------------------------------------------------------------------------------...

    Beginning Python (2005).pdf

    Try It Out: Fetching a Message by Unique ID 330 Secure POP3 and IMAP 331 Webmail Applications Are Not E-mail Applications 331 Socket Programming 331 Introduction to Sockets 332 Try It Out: ...

    domconstants:各种项目常用的DOM常量

    export { UID , // a unique ID usable as attribute too UIDC , // a unique ID wrapped as comment node UID_IE , // a boolean indicating IE was detected COMMENT_NODE , // Node.COMMENT_NODE DOCUMENT_...

    使用CSS3实现选项卡切换的方法

     The :target pseudo-class represents the unique element, if any, with an id matching the fragment identifier of the URI of the document. 在document中,可以设置锚链接,举个例子: CSS Code复制内容到...

    webpack-apidoc:Apidoc Webpack插件

    这个怎么运作/path/api/stuff.js : /** * @api { get } /user/:id Request User information * @apiName GetUser * @apiGroup User * * @apiParam {Number} id Users unique ID. * * @apiSuccess {String} ...

    数位板压力测试

    In this document, the words "tablet" and "digitizer" are used interchange¬ably to mean all absolute point¬ing or digitizing devices that can be made to work with this interface. The definition is ...

    gulp-apidoc:RESTful Web API文档生成器

    这个怎么运作/path/api/stuff.js : /** * @api { get } /user/:id Request User information * @apiName GetUser * @apiGroup User * * @apiParam {Number} id Users unique ID. * * @apiSuccess {String} ...

Global site tag (gtag.js) - Google Analytics