Change meta tag with Jquery - Cant see it as source
I am changing the content of the metatag as follows:
$('meta[name=myMeta]').attr('content', 'newContent');
it works and
console.log($('meta[name=myMeta]').attr('content'));
changes me 'newContent'
but if now I click on "View Sourcode" I cannot see the changes I made with jquery.
Can I solve this problem how?
+3
source to share
2 answers