I have a input field that the user can make a search to see if a domain is registered or not. The output will then show the domain in <span id=”domain””>example.com</span>
I am trying to get the value from:
<span id="domain"">example.com</span>
and then pass it to a hidden field already created in the administration within a HTML box: