Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery add attribute without value

$('body').attr('data-body','');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #add #attribute
ADD COMMENT
Topic
Name
9+4 =