[removed] setAttribute() v.s. element.attribute = value to set “name” attribute

前端 未结 6 2157
挽巷
挽巷 2020-12-03 11:07

So I\'m learning to manipulate the DOM and I noticed one interesting thing:

Let\'s say I want to set the name attribute of an element by using the \".\"

6条回答
  •  佛祖请我去吃肉
    2020-12-03 11:29

    
    
    
    
    
    

    some content

    some other content

提交回复
热议问题