I need to make dynamic meta. on click or on load the page, the field of metatags have to take the content inside tag <h1>. it's possible?
<html>
<head>
<title>my site</title>
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta property="og:image" content="" />
</head>
<body>
<h1 id="titolo">Titolo</h1>
<p id="descrizione">Vestibulum velit justo, porta a aliquet a; sodales nec quam. Etiam lobortis tortor ex, non iaculis dolor interdum in!</p>
<img id="immagine" src="immagine.jpg" />
<a target='_blank' class="fb"href='https://www.facebook.com/sharer/sharer.php?u=http://miosito.org/' >Share facebook</a>
<a target='_blank' class="tw" href='https://twitter.com/intent/tweet?url=http://miosito.org/ '>Share twitter</a>
<a target='_blank' class="gplus" href='https://plus.google.com/share?url=http://miosito.org/' >Share gplus</a>
</body>
</html>
thanks