Hey, I’d like to do something fairly simple in Javascript, I want to create a “report” button that a user can click on to report a defective link by sending it to my email.
My site right now is a lot like google images, meaning there is a toolbar at the top that remains the same and an iframe that nests third party websites that is constantly changing.
I want to get the URL of the third party website that is in the iframe and have it sent to me when a “report” button is clicked. So far, from my understanding, I should use getElementid to get the get the URL, but how do I store this url and have it sent to my email? Will this require PHP? and is there a more efficient method than getElementid?
Thanks in advance