I am new in Javascript and I would like to learn more on the following scenario.
I have created the following files: 1. start.html 2. destination.html 3. run.js
In run.js, I have included a simple command:
document.write("This is the destination");
In start.html, I called run.js by:
<script language="JavaScript" src="run.js"></script>
This will output the message "This is the destination" to start.html. I would like to find out if there is a way to output the result to destination.html instead of start.html?