This is what I have.

URL = abc.com/?em=xyz&fn=123

I have an iframe on the page which I want to share some of the param data as follows…

iframe= def.com/xyz

As you can see I just want one of the url params from the main source url to carry across to the iframe, to be part of the url, not an added param on the iframe string. It would always be the single param ’em’ that would be carried across, all other params would be ignored.

Hope someone has any help.

The site is currently on WordPress if that makes a difference. The iframe url is an external link,not wordpress

Thanks

Read more here: Passing a specific url query param from main url into the iframe url


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: