Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript change meta tag

document.querySelector('meta[name="description"]').setAttribute("content", _desc);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #change #meta #tag
ADD COMMENT
Topic
Name
2+9 =