首页 极刻 圈子 教程 开源
极客社区
写文章 发极刻 建圈子 发项目
标签 dataattributes 相关标签 attributes data divemployee html5 jquery

jquery中操作HTML5中的dataattributes

在HTML5中,新增加了data-attributes属性,可以在页面级保存一些数据,比如: 而在jquery中,可以通过.data的方法去获得和设置dataattributes,比如: 可以看到设置了divEmployee的一系列属性,包

hhhkhhh 2012-05-12 18:01:04

推荐极客

Blaze Blaze 80407013 80407013 fundebug fundebug 81293313 81293313 87627995 87627995 88916570 88916570 84214254 84214254 86593278 86593278

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.