I have a form on website 2 that I need to populate with data on website 1. The code I have so far is:
function fillOutForm () {
document.getElementById('input1').value="innerHTMLFromWebsite2";
}
How do I import the HTML from website 2 and insert it into the "innerHTMLFromWebsite2" section of the above code?
Also to note the 2 websites are on different domains. Think website1 is www.mycompany.com and website2 is www.tripadvisor.com.
Thanks in advance!