Set content value of itemprop using jQuery
4 answers
$('meta[itemprop="price"]').attr('content', newValue);
.attr( attributeName )
is a getter
.attr( attributeName, value )
is a setter
You can read more here: http://api.jquery.com/attr/
+2
source to share