Home >Web Front-end >JS Tutorial >Introduction to the use of JS getAttribute and setAttribute (getting and setting attributes)_javascript skills

Introduction to the use of JS getAttribute and setAttribute (getting and setting attributes)_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:29:211405browse

getAttribute:取得属性;
setAttribute:设置属性;

复制代码 代码如下:



   
       
        Untitled Document
       
   
   
       

               
  • Magci

  •            
  • J2EE

  •            
  • Haha!

  •        

       
   

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