Forum How do I...?

Get Text of an Element in Other Page and Use it on Another Page

nyc2019
How do I use the content of an element in say page 5 (for example, <p class="source">Get this</p>) and use it on page 1 (<p class="target"/>)? I want the content of p.source to go to p.target.
mikeday
You can use the CSS target-content() function with the "content" property to access text via links, but in this example it would probably be simpler to just use JavaScript.