DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
delete attribute javascript
var
target
=
document
.
getElementById
(
"p12"
)
;
target
.
removeAttribute
(
"class"
)
;
PREVIOUS
NEXT
Tagged:
#delete
#attribute
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit