Changing meta tags dynamic with jQuery


Quickly rewrite a meta tag with jquery

if you need to rewrite a meta tag that you have already written, you can use the following jquery code:

 

<script type="text/javascript">

$('meta[property="description"]').attr('content',"new content" )

</script>

 

Related articles