Home  >  Article  >  Web Front-end  >  The use of jQuery Attributes (1. Attributes)_jquery

The use of jQuery Attributes (1. Attributes)_jquery

WBOY
WBOYOriginal
2016-05-16 18:39:041133browse

This article explains: the usage of attr(name),attr(properties),attr(key,value),attr(key,fn),removeAttr(name).
If you have any suggestions or comments about this series of articles, please send them to email: sjzlgt@qq.com
You can go to the jQuery official website to learn more about jQuery.
The following code needs to be refreshed after running.


[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

完整代码打包下载
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn