I have an HTML page in that, I included a test.js
file. On click of a button, I am opening a pop up. And that will be the second HTML
page.
<script type="text/javascript" scr ="test.js">
Now, I want to use test.js
for all the logic's and I don't want to include again this test.js
in the pop.html. Please suggest me how can we do this.