how to remove all attributes from with js or jquery.
(I don’t know what is the attributes in the body, i want remove all them)
how to remove all attributes from with js or jquery. (I don’t know what
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the DOM Level 1 Core
attributesproperty to access attributes as a list. As plain JS:Or dressed up in jQuery plugin clothes: